AlaskaAirlines / auro-combobox

An auroLabs custom element w/an experimental API. You've been warned.
https://auro.alaskaair.com/components/auroLabs
Apache License 2.0
4 stars 1 forks source link

Required* Combobox fields error prior to entering anything #61

Closed erikalanghauser closed 2 years ago

erikalanghauser commented 2 years ago

Describe the bug

Required combobox fields error on a click into the field and click out, prior to any text being entered. This feels like bad practice to error on the user prior to even attempting to enter any text as they might just be directing their attention elsewhere temporarily.

image

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://www.alaskaair.com/search-test/
  2. Click into 'To' combobox
  3. Click out of 'To' combobox
  4. See error

Expected behavior

I don't expect the required combobox to error until the user has entered text into the field OR submitted the form without entering any text into the field.

Screenshots

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

blackfalcon commented 2 years ago

I can't say that this is a bug? That is working as designed. If a user entered a required field and exited that field and the value is still empty, then it should error. You will find this to be a constant with all other input elements and the required attribute.

https://auro.alaskaair.com/components/auro/input

blackfalcon commented 2 years ago

Accidentally added to other PR, no work has been done about this issue.

Labeling as abandoned as the reported bug is expected behavior. If there is to be a change to this behavior, please include @leeejune to discuss the i/o error state management and the expected UX.