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
We have an issue in jspreadsheet where the dropdown option ids get transformed to strings and result in selections being invalid. After contacting support we have been directed here to make a feature request.
We allow the user to configure the values of their dropdown, which in this case are numeric ids and string names.
Opening the console there and selecting a value will show the problem.
Is it possible to return the same value that is passed to the library?
The text was updated successfully, but these errors were encountered:
tb-viktor
changed the title
Dropdown option id gets transformed from number to integer
Dropdown option id gets transformed from number to string
Dec 6, 2023
Hello,
We have an issue in
jspreadsheet
where the dropdown option ids get transformed to strings and result in selections being invalid. After contacting support we have been directed here to make a feature request.We allow the user to configure the values of their dropdown, which in this case are numeric ids and string names.
We pass the options in such a format:
After that if we select an option and try to read the value, it becomes e.g
'1'
instead of1
and causes an option not found state.There is a reproduction link here:
https://codesandbox.io/s/online-spreadsheet-with-react-and-jss-forked-e5sbwz?file=/src/App.js
Opening the console there and selecting a value will show the problem.
Is it possible to return the same value that is passed to the library?
The text was updated successfully, but these errors were encountered: