You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When looking at the SelectOption.value and Select.selected properties, I got the impression that one can use any JavaScript value to identify select options, and it indeed works as expected.
But it doesn't type-check: The Select.onSelect property wants a function that takes string | number. I had expected it to also use any.
We have our own variant of your SimpleSelect template, and we would like to make it generic in the type of the option value. This seems to work, except for this little niggle about the type of Select.onSelect.
The text was updated successfully, but these errors were encountered:
When looking at the
SelectOption.value
andSelect.selected
properties, I got the impression that one can use any JavaScript value to identify select options, and it indeed works as expected.But it doesn't type-check: The
Select.onSelect
property wants a function that takesstring | number
. I had expected it to also useany
.We have our own variant of your SimpleSelect template, and we would like to make it generic in the type of the option value. This seems to work, except for this little niggle about the type of
Select.onSelect
.The text was updated successfully, but these errors were encountered: