formly-js/angular-formly

Radio buttons with boolean values are not loaded on update

Closed this issue · 1 comments

Having an issue where formly radio buttons that contain boolean values are not being updated properly when values are being loaded from a DB. Works fine with string values, but nothing shows up for boolean values even though the model is being updated properly and holds the data. So for instance radio buttons containing string values are being set to their proper values when the form loads. Radio buttons containing boolean values are not.

In case this happens to anyone else---the solution was to change value to ng-value in the template