We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92df31c commit 3367befCopy full SHA for 3367bef
gui/src/renderer/components/cell/SettingsTextInput.tsx
@@ -73,7 +73,7 @@ export function SettingsNumberInput(props: SettingsNumberInputProps) {
73
type ValueTypes = 'text' | 'number';
74
type ValueType<T extends ValueTypes> = T extends 'number' ? number | '' : string;
75
76
-interface InputProps<T extends ValueTypes> extends React.HTMLAttributes<HTMLInputElement> {
+interface InputProps<T extends ValueTypes> extends React.InputHTMLAttributes<HTMLInputElement> {
77
type?: T;
78
value?: ValueType<T>;
79
defaultValue?: ValueType<T>;
0 commit comments