xyzroe/XZG

MQTT broker config hostname field length

Closed this issue · 0 comments

Describe the bug
The minimal input length of the broker hostname / ip is 4 characters. The hostname of my broker is "nuc", which can not be entered.

To Reproduce
Steps to reproduce the behavior:

  1. Open the XZG web interface
  2. Click on 'MQTT'
  3. Try to enter a broker name with less than 4 characters
  4. See error

Expected behavior
Enter and accept a hostname with less than 4 characters, but at least 1.

Screenshots
Screenshot 2024-05-29 182433

I don't know why the error message is in german, i explicitly changed the UI language to english. Maybe the message is generated by the browser (Firefox?) It says: "Please use at least 4 characters (currently 3)"

Workaround
Use the IP address and a static IP for the broker, which isn't always possible.