[SOLVED] Not all bindings are updating

I have a button:

<button class="btn btn-primary" disabled.bind="!isValid" click.delegate="save()" title="Save">Save:${isValid}</button>

Oddly, the “Save:${isValid}” portion updates as the isValid attribute changes. But, the disabled attribute never changes.

This seems pretty simple as it matches many examples on the web.

Any idea what could cause only partial updates?

The value of isValid is updated by subscribing to validation events.

Thanks.

1 Like

I figured this out. Turn out the isVAlid attribute was getting over-written with a string value instead of the correct boolean value.

2 Likes