feat: use decimal period instead of comma character in number inputs

master
Katja Lutz 2 years ago
parent 32635cf69e
commit 0a599cf9d4

@ -89,6 +89,7 @@ export const TextInput: Component<
[props.class || ""]: true,
}}
type="text"
lang={rest.type === "number" ? "en" : undefined}
placeholder={props.placeholder}
{...rest}
/>

Loading…
Cancel
Save