wave
wave copied to clipboard
SelectList | Custom props not getting set
-
@freenow/wave
version:1.16.2
Relevant code
<SelectList
data-id='bulk_action_select_box'
/>
What was expected to happen?
The data-id
property should be set on the wrapper/div(s). Properties like id
work (because it's explicitly being set).
The intention is to be able to set custom properties (in this case it's for GTM) for SelectList
. Since we're not passing {...restProps}
to Wrapper
, it's not being set.
I was working around this by using the id
property instead, so it looks like this could still be a valid bug