Skip to content

Support cell conditions to focus the error message on a nested row #2557

@caritaou

Description

@caritaou

ref 3934

Currently cell conditions apply to the entire control. We should support focus_parameter_ref to apply on a row within a nested list/structure control, instead of the entire cell. In this example, the cell is a list which causes all rows to be marked error instead of a row within the list

{
  "validation": {
    "fail_message": {
      "type": "error",
      "focus_parameter_ref": "ui_definitions[2]",
      "message": {
        "resource_key": "field_entry_data_number_not_valid"
      }
    },
    "evaluate": {
      "condition": {
        "parameter_ref": "ui_definitions[2]",
        "op": "customUserInputValue"
      }
    }
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions