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
A datalist element only needs to contain an attribute "value" which holds the option value, the text node (here: option.value) is completely optional and should be treated as such. So additionally props.dataList should be an array of "string | KeyValueType".
Screenshots
No response
Browser version
None
Add any other context about the problem here.
No response
The text was updated successfully, but these errors were encountered:
Which generators are impacted?
Reproduction case
https://github.com/db-ui/mono/blob/main/packages/components/src/components/input/input.lite.tsx#L180
A datalist renders elements with a key as attribute and a value as text node.
Expected Behaviour
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
A datalist element only needs to contain an attribute "value" which holds the option value, the text node (here: option.value) is completely optional and should be treated as such. So additionally props.dataList should be an array of "string | KeyValueType".
Screenshots
No response
Browser version
None
Add any other context about the problem here.
No response
The text was updated successfully, but these errors were encountered: