Is the "enabled" option in Tab intentionally static?


In the following example is a tab that’s hooked up to a boolean in the ts.

<ion-tab [root]="tab2Root" enabled="hasAssignment"></ion-tab>

In my app, the hasAssignment boolean is dynamically changed, but the tab doesn’t seem to be able to be enabled dynamically.


Nevermind, I just needed to use double brackets on enabled, like this: enabled={{hasAssignment}}.


I believe [enabled]="hasAssignment" is considered more idiomatic.