AlaskaAirlines / auro-checkbox

Custom element for the purpose of allowing users to select one or more options of a limited number of choices.
https://auro.alaskaair.com/components/auro/checkbox
Apache License 2.0
0 stars 1 forks source link

Make value attribute public and create reset checkbox group function #132

Open jordanjones243 opened 4 months ago

jordanjones243 commented 4 months ago

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

When thinking about form validation, users need the ability to query and set the value attribute programmatically. They also need the ability to reset the checkbox group at a moment's notice.

Describe the solution you'd like

Make the currently existing value attribute public and create a function that resets the checkbox group to it's default state

Describe alternatives you've considered

Leaving as is

Additional context

In the grand scheme of things, we want the users to be able to query the value and reset the state of any of our form elements. So, this implementation should be present in all form elements and that work should be considered/investigated when this ticket is picked up.