Skip to content

Conditional dependency (allOf) in an array object applies to all items #4255

@jovannitjuandi

Description

@jovannitjuandi

Prerequisites

What theme are you using?

mui

What is your question?

Example Schema

I have added one response and chosen "Others, Explain" which works to make the additional information field a required field, but when I add a second response, if I leave it blank, it still expects the additional Information field to be filled
image

This is a smaller set of a full form, so in some cases I want to populate the other fields but leave the multiple choice blank, but it's not passing the validation, is there something I should correct in my schema?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions