Github user aledsage commented on the issue:
https://github.com/apache/brooklyn-ui/pull/69
FYI without Alex's fix for the custom widget, editing the value behaves
really strangely. Below is a description of the behaviour I saw without this
fix.
For example, for a dropdown widget, select a value (e.g. ât3.microâ),
and then immediately clicking to view the yaml (or click âDeploy"), then the
value is not included. However, if I choose the value and then click on another
config field, then the value does take effect.
Similarly if I try to type text in there, it goes weird. I had previously
chosen ât3.microâ from the dropdown. I then clicked on the text box,
deleted the text, and typed âfooâ. When I then clicked on another field and
then went to the yaml view, the value was ât3.mediuâ (when it should have
been "foo").
With a new entity, clicking in the box and typing âfooâ and then
return, the yaml showed just âfâ.
Also, the validation error does not indicate the problem (that config is
`constraint: [required]`)Instead, the error was only shown at the top-level
Configuration.
---