use numberValue() to prevent web errors with integers

This commit is contained in:
proddy
2024-09-01 12:29:23 +02:00
parent 1d45a08668
commit 94d1aa56b1
4 changed files with 18 additions and 23 deletions

View File

@@ -95,7 +95,7 @@ const SensorsTemperatureDialog = ({
name="o"
label={LL.OFFSET()}
value={numberValue(editItem.o)}
sx={{ width: '12ch' }}
sx={{ width: '11ch' }}
type="number"
variant="outlined"
onChange={updateFormValue}