-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
Bug
When using Dojo 4.0.0 to create a custom <Select> widget, the option does not get set correctly from the initial value.
@agubler believes this may be because in the VDOM nodes are created from the parents downwards, which means the option do not exist when the parent select is created.
Package Version: 4.0.0
Code
const r = renderer(() => v('select', { value: 'b' }, [
v('option'),
v('option', { value: 'a' }, ['a']),
v('option', { value: 'b' }, ['b'])
]));
r.mount();Codesandbox:
Expected behavior:
The option is correctly set when the is initialized with a given value.
Actual behavior:
The option is not set.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels