mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix #329, numberformat in Edge, Chrome
This commit is contained in:
@@ -239,7 +239,7 @@ const DashboardData: FC = () => {
|
||||
<ValidatedTextField
|
||||
name="v"
|
||||
label={deviceValue.n}
|
||||
value={deviceValue.u ? Intl.NumberFormat().format(deviceValue.v) : deviceValue.v}
|
||||
value={deviceValue.v}
|
||||
autoFocus
|
||||
sx={{ width: '30ch' }}
|
||||
type={deviceValue.u ? 'number' : 'text'}
|
||||
|
||||
Reference in New Issue
Block a user