hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.31k stars 285 forks source link

[Feature Request]: Give Autocomplete component the required property #595

Open QiwiZ opened 1 year ago

QiwiZ commented 1 year ago

Is your feature request related to a problem? Please describe. After switching an input field from a Select Menu to an Autocomplete the previously working "required" behaviour no longer works.

Describe the solution you'd like The Autocomplete component has the same "required" functionality as Textfield and Select Menu components.

Additional context As the Autocomplete seems to occupy the same range of use cases as the Select Menu and Textfield components I would expect the option to set such a field as required, as is possible with the other two components.