I am using KnockoutJS for my client-side viewmodel needs, and I'm using FuelUX for some styling of my components.
I have several checkboxes on a form whose value is bound to a knockout observable, but when the checkbox binding is checked on page load, FuelUX does not display the checkbox as being checked unless I mouse over the checkbox. Once I mouse over the checkbox it displays the correct state.
The knockout binding occurs in a ready function, so the page is already loaded when the checked state is applied, so I think that might be the issue. For some reason FuelUX is not picking up this change.
Is there a way to force FuelUX to refresh the state of checkboxes?
Aucun commentaire:
Enregistrer un commentaire