Skip to content

Question: How to know if a field/zodField atom inside listAtom is at index (say first or last) #6

Open
@pgangwani

Description

@pgangwani

Is your feature request related to a problem? Please describe.
This is question. I would like to know if a field/zodField atom inside listAtom is at index (say first or last).
Lets take an example
List> { A: fieldAtom, B: Atom}[]
If change of B atom is triggered, how do I know if its at n index of ListAtom

Describe the solution you'd like
I need to see the example if I am missing something.

Describe alternatives you've considered
I am using always listAtom validate to rely fully but that doest give inline error experience. In my case I would like to skip validation or make it optional.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions