Skip to content

Feature Request: depends-on-index #464

Open
@himanshu5980

Description

@himanshu5980

Logic module:

I m working with a dependent element array, and "depends-on" attribute takes the name of the field and not the index if i want to validate against a specific index (not ALL elements in the array).

I replicated the logic module by appending

(c.valAttr("depends-on-index")?':eq('+c.valAttr("depends-on-index")+')':'')

after:
a) formUtils.getValue('[name="' + f + '"]'
b) '[name="' + c.valAttr("depends-on") + '"]'

Would be nice to have as a feature and clubbed together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions