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
{{ message }}
This repository was archived by the owner on Feb 16, 2021. It is now read-only.
Version
Tell us which versions you are using:
Expected behaviour
I am creating a template for field with type number. So now onChange should supply the value in numerical form as mentioned in docs
import React from 'react';
export function TextInputTemplate(locals) {
function onChange($event) {
locals.onChange($event.target.value);
}
return (
);
}
Actual behaviour
Instead it supplies even the entered number as string as i would enter 2 here and onChange would get "2" as value
The text was updated successfully, but these errors were encountered: