HASS.io MQTT how to set username and password

I am trying to add a username and password to MQTT and have found many posts showing how however the save button is remaining grey and not blue so will not let me save the modification to the config.

Does anybody know a work round can I edit a file is the web interface won’t work.

Any help would be great

Hi @Pete69, have you added the username and password with double quotes, like in the docs.
The form checks for valid json and enables the save button.

hi yes i found i had to uninstall then re install it and it worked