Closed bingchuan93 closed 2 years ago
Which version do you use?
I'm using 1.11.0. @AdelRedaa97
I have made some changes, Could you try v"1.12.0" and tell me if it still not working
Hi @AdelRedaa97 !
Its still not working. I'm guessing its because selectedItem
is 0 and reverts to the falsey part of the ternary operator when rendering.
Thanks for reporting ❤️ it's fixed now in v"1.13.0" let me know if it still not working
Yes it works now! thanks much!
Hihi! Im unable to set the first value in the array in data props if the first value is 0.
Eg. [0, 5, 10], i cant set defaultValue={0} nor defaultValueByIndex={0} to let default value be the value '0' Doing this will revert the box value to the placeholder instead of '0'
tia