Skip to content

Validate host and target fields on firewall rules #2187

@charliepark

Description

@charliepark

image

image

If we validate these on the client, they will not hit the API and the user will not have to figure out what these API error messages mean. Note that validating host and target depends on the type selected in the dropdown. The validate function will have to look at the selected type to decide which validation to run. Ideally, changing the type will re-run validation on the value field (I don't think it will work this way by default).

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