Skip to content

Removing controls from DOM after Dominar has been initialized #17

@stocksp

Description

@stocksp

The framework I'm using (Meteor) can remove controls after Dominar has been told about them.
Not hide them, but take them out of the DOM.
I believe Angular and React do the same.

Dominar::validateAll is not happy about fields not being there.

I hacked in a

if(!field)
  continue

inside the for loop and everything appears to be working fine.
Am I asking for trouble doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions