NCIOCPL / ncids

NCI Design System
10 stars 5 forks source link

Autocomplete storybook is throwing a JS error #1720

Open karlikpj opened 3 months ago

karlikpj commented 3 months ago

Issue description

On the Autocomplete storybook for enabled/disabled match I'm seeing a JS error of

TypeError: Cannot read properties of undefined (reading 'unregister')

ESTIMATE TBD

Steps to reproduce the issue

  1. go to https://designsystem-dev.cancer.gov/develop/storybook/?path=/story/components-autocomplete-default--match-enabled
  2. click between enabled and disabled
  3. see the error in the console log

What's the expected result?

What's the actual result?

Additional details / screenshot

Related Tickets