[SolidJS] Number input: valueAsNumber
is always the initial value
#3384
-
I think I'm almost certainly seeing a bug here, but it's so off I thought I'd get an opinion. I have a In the onValueChange={(details) => {
// always the initial value when we are in controlled mode!
setValue(details.valueAsNumber);
}} But taking the onValueChange={(details) => {
// this works as expected
const valueAsNumber = Number(details.value);
setValue(valueAsNumber);
}} I'm pretty sure the If anyone agrees I'll log a ticket. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Good catch. I am working on fixing this in Zag.js. |
Beta Was this translation helpful? Give feedback.
Good catch. I am working on fixing this in Zag.js.