Skip to content

Commit

Permalink
adjusted input field length restrictions for mqtt broker
Browse files Browse the repository at this point in the history
  • Loading branch information
dzerrenner committed May 29, 2024
1 parent a566040 commit 2f607f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/websrc/html/PAGE_MQTT.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class='mb-2'>
<label for='server' data-i18n="p.mq.broker.n"></label>
<input data-r2v="serverMqtt" class='form-control' id='MqttServer' type='text'
name='MqttServer' minlength="4" maxlength="60"
name='MqttServer' minlength="1" maxlength="60"
pattern="^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$"
data-i18n="p.mq.broker.ph[placeholder];p.mq.broker.tt[title]" required>
</div>
Expand Down

0 comments on commit 2f607f0

Please sign in to comment.