suankularb-wittayalai-school / sk-components

A design system for all Suankularb applications
https://sk-components-demo.mysk.school
0 stars 1 forks source link

Dropdown doesn’t default to 1st item when options change #69

Open SiravitPhokeed opened 2 years ago

SiravitPhokeed commented 2 years ago

Describe the bug Dropdown doesn’t change its selected option to the first item in the options when options change, which results in a blank dropdown (shown below).

Expected behavior When a change in options is detected, set the selected option to the first option in options.

Screenshots image