Move checkbox text before input
This commit is contained in:
@@ -112,13 +112,13 @@ const Connectivity = () => {
|
||||
{mqttMsg && <div className="message">{mqttMsg}</div>}
|
||||
<form className="form" onSubmit={e => { e.preventDefault(); saveMqtt(); }}>
|
||||
<div className="form-group">
|
||||
<label>
|
||||
<label className="checkbox-label">
|
||||
Ativar MQTT
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={mqttConfig.enabled}
|
||||
onChange={e => setMqttConfig({ ...mqttConfig, enabled: e.target.checked })}
|
||||
/>
|
||||
Ativar MQTT
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user