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

Validation on input example uses incorrect attribute #273

Closed jordanjones243 closed 11 months ago

jordanjones243 commented 1 year ago

Please verify the version of auro-input you have installed

2.15.1

Please describe the bug

  1. https://auro.alaskaair.com/components/auro/input
  2. Scroll down to "Validation on input" example
  3. Type "a" into an input
  4. See error (no error message showing)

Reproducing the error on the docsite

This issue is reproducible on the Auro docsite

Expected behavior

Validity message should appear when a user starts typing into the input

What browsers are you seeing the problem on?

Chrome

Additional context

The example is currently using an old attribute no longer supported. The attribute needs to be updated from customValidityBadInput to setCustomValidityBadInput