IPv6 will be detected and put into square brackets.
Additionally removed that IP addresses are valid in the frontend domain, since that would break some template sections like dyndns and certificate generation, so it is unsupported in the scope of the GUI.
Fixes: https://forum.opnsense.org/index.php?topic=41203
Before the fix:
After the fix: