Skip to content

Select default option validation #578

@evoactivity

Description

@evoactivity

When using a select that produces output similar to this

<select>
  <option value="one">One</option>
  <option value="two">Two</option>
</select>

If you have validation (in my case yup) that makes the select required, if the user does not interact with the select by changing it's option, it will fail validation even though One will be selected 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