AlaskaAirlines / auro-input

Custom HTML element for inputting string data in forms
https://auro.alaskaair.com/components/auro/input
Apache License 2.0
2 stars 4 forks source link

Implement readonly feature #284

Closed jordanjones243 closed 7 months ago

jordanjones243 commented 7 months ago

Is your feature request related to a problem? Please describe.

When using the auro-datepicker, we do not want users to be able to type into the input when using mobile devices. When in mobile, the input should be in readonly.

Describe the solution you'd like

Have an attribute that will set the HTML5 input to readonly

Describe alternatives you've considered

Leave as is

Additional context

This change can be used immediately for use in auro-datepicker, but has the potential to be used in other situations