We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8068a commit bec2feeCopy full SHA for bec2fee
examples/server/webui/src/components/SettingDialog.tsx
@@ -296,9 +296,9 @@ export default function SettingDialog({
296
return;
297
}
298
} else if (mustBeNumeric) {
299
- const trimedValue = value.toString().trim();
300
- const numVal = Number(trimedValue);
301
- if (isNaN(numVal) || !isNumeric(numVal) || trimedValue.length === 0) {
+ const trimmedValue = value.toString().trim();
+ const numVal = Number(trimmedValue);
+ if (isNaN(numVal) || !isNumeric(numVal) || trimmedValue.length === 0) {
302
alert(`Value for ${key} must be numeric`);
303
304
0 commit comments