Skip to content

Ability to scope conditionize #16

Description

@Alexplose

I have multiple forms within modals that have have input with same (name/id).

Is it possible to scope conditionize to a specified form.

 $("#eventForm [data-condition]").conditionize({
                                            scope:"#eventForm",
                                            ifTrue: function ($s) { $s.removeClass('d-none'); },
                                            ifFalse: function ($s) { $s.addClass('d-none'); }
                                           });

Or any workaround ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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