Closed tomdye closed 4 years ago
This is part of a larger piece of work to align select / combo box apis and to update callbacks to use onValue
Why is there a native and non native version in the first place?
The getOptionLabel
would also become repetitive in this case so I'm taking out that property as well
This has been fixed via https://github.com/dojo/widgets/pull/962
Enhancement
The native / non-native elements currently have different
onChange
events. The native version requires agetOptionValue
property to be implemented whereas the non-native does not. We should normalise these two onChange events and the API in general for Select.Update [by @sammenza]: Specifically Select widget should have the following changed:
options
property to be of type{value: string, label?: string}[]
<option>
child nodesgetOptionValue
property from Select widget