Skip to content

Firewall rule host type listbox not resetting as expected #1499

Closed

Description

@david-crespo

I think it's because the Listbox value is not being directly controlled by the form control — rather onChange needs to be called when the value changes. So we might want a useEffect that has the value as a dep and calls onChange when it changes? Ew. I don't think that would cause a render loop.

2023-05-17-firewall-rule-host-bug

After #1498

2023-05-17-firewall-rule-host

Activity

  1. benjaminleonard commented on May 18, 2023

    @benjaminleonard
    Contributor

    Whilst you're in there, we should switch this to the mini table component

  2. david-crespo commented on Jul 10, 2024

    @david-crespo
    CollaboratorAuthor

    No longer repros, appears to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions