-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I am saving off my form and repopulating at a later time. Everything renders fine except for the checkbox.html. Whenever I load up using a previous model, schema form material doesnt seem to add the md-checked class and thus my checkboxes never get the checkmark. My model looks good, when I inspect the html, the tag shows aria-checked = true but not checkbox and no md-checked class.
Anybody else experience this?
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
tjones0808 commentedon Aug 31, 2016
If i remove this
class=\"{{::form.fieldHtmlClass}}\"
from the decorator we're fixed. somehow schemaform is overriding the class options and setting them null on render.
Anthropic commentedon Sep 10, 2016
@tjones0808 could you do me a favour and try changing it to ng-class and see if it works then?
jerome-quere commentedon Dec 1, 2016
I had the same problem removing
class=\"{{::form.fieldHtmlClass}}\"
did solve it.