mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
remove ? from checkboxes
This commit is contained in:
@@ -39,7 +39,7 @@ class NTPSettingsForm extends React.Component<NTPSettingsFormProps> {
|
|||||||
value="enabled"
|
value="enabled"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
label="Enable NTP?"
|
label="Enable NTP"
|
||||||
/>
|
/>
|
||||||
<TextValidator
|
<TextValidator
|
||||||
validators={['required', 'isIPOrHostname']}
|
validators={['required', 'isIPOrHostname']}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { Checkbox } from '@material-ui/core';
|
|||||||
import SaveIcon from '@material-ui/icons/Save';
|
import SaveIcon from '@material-ui/icons/Save';
|
||||||
|
|
||||||
import { RestFormProps, BlockFormControlLabel, PasswordValidator, FormButton, FormActions } from '../components';
|
import { RestFormProps, BlockFormControlLabel, PasswordValidator, FormButton, FormActions } from '../components';
|
||||||
import {isIP,isHostname,or} from '../validators';
|
import { isIP, isHostname, or } from '../validators';
|
||||||
|
|
||||||
import { OTASettings } from './types';
|
import { OTASettings } from './types';
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ class OTASettingsForm extends React.Component<OTASettingsFormProps> {
|
|||||||
onChange={handleValueChange("enabled")}
|
onChange={handleValueChange("enabled")}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
label="Enable OTA Updates?"
|
label="Enable OTA Updates"
|
||||||
/>
|
/>
|
||||||
<TextValidator
|
<TextValidator
|
||||||
validators={['required', 'isNumber', 'minNumber:1025', 'maxNumber:65535']}
|
validators={['required', 'isNumber', 'minNumber:1025', 'maxNumber:65535']}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ class WiFiSettingsForm extends React.Component<WiFiStatusFormProps> {
|
|||||||
onChange={handleValueChange("static_ip_config")}
|
onChange={handleValueChange("static_ip_config")}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
label="Static IP Config?"
|
label="Static IP Config"
|
||||||
/>
|
/>
|
||||||
{
|
{
|
||||||
data.static_ip_config &&
|
data.static_ip_config &&
|
||||||
|
|||||||
Reference in New Issue
Block a user