Hi,
I have seen this in the samples, but what I need is to enable/ disable
widgets upon validation state changes.
So I need to build a ValueModel holding a boolean and have it being
changed by the validation calls on my model?
brgds
Papick
On 22 Jul., 15:02, Andrew Pietsch <
and...@pietschy.com> wrote:
> Howdy,
>
> You can use the command.enabledWhen(ValueModel<Boolean>) method to specify a
> condition to trigger enabling and disabling a command. There's also a
> disableWhen(...) version if that reads better.
>
> Cheers
>