Developing a new binding. Is there any capacity for config validation in the UI?
For example, in the attached screenshot I am adding a new Thing. The configuration field requires an IP address but the user entered a URL.
Would be nice to flag this in the browser instead of just failing init and logging a cryptic error message
In the thing configuration parameter xml you can define a context for each parameter e.g. password or network address which affects how the UI handles user entry for that param. Check the OH developer docs for details.
IP address is
192.168.4.146, what you placed in configuration is URL.
OP is just showing a „bad“ example he wants to catch by validation.
Right, I completely missed that part. My advice would be to add
<context>ip</context> to specific parameter. It might help UI to add some basic validation rules.