mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-11 11:46:10 +01:00
auto widths
This commit is contained in:
1 file changed
+1
@@ -53,6 +53,7 @@ function NumberField({ value, suffix, onValueChange }: NumberFieldProps) {
|
||||
value={text}
|
||||
onFocus={(event) => (event.target as HTMLInputElement).select?.()}
|
||||
onKeyDown={handleKeyDown}
|
||||
autoWidth
|
||||
onChange={(event) => {
|
||||
setText(event.target.value);
|
||||
|
||||
|
||||
Reference in new issue
Block a user