Skip to content

Commit

Permalink
Merge pull request #52 from dzerrenner/issue-51-mqtt-broker-field-length
Browse files Browse the repository at this point in the history
adjusted input field length restrictions for mqtt broker
  • Loading branch information
xyzroe authored May 29, 2024
2 parents b40546d + c35b942 commit 7aced54
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 7aced54

Please sign in to comment.