Skip to content

Setting required to input element within TextInput #4411

@fcollonval

Description

@fcollonval

When setting required to TextInput it is not set to the input element - only on the aria attribute:

aria-required={required}

Could you set it so that built-in form validation can be used fully? For now it is awkward to be able to set a pattern or other constrains but that the component built-in validity is always true if no value is set.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions