Skip to content

Commit

Permalink
Conditional fields logic
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurbaghdas committed Sep 4, 2023
1 parent 22a4824 commit 6738905
Showing 1 changed file with 38 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- field.field.paragraph.org_section_long_form.field_show_in_org_navigation
- paragraphs.paragraphs_type.org_section_long_form
module:
- conditional_fields
- field_group
- paragraphs
third_party_settings:
Expand Down Expand Up @@ -48,14 +49,14 @@ mode: default
content:
field_hide_heading:
type: boolean_checkbox
weight: 3
weight: 1
region: content
settings:
display_label: true
third_party_settings: { }
field_org_navigation_jump_link_t:
type: string_textfield
weight: 2
weight: 3
region: content
settings:
size: 60
Expand All @@ -78,6 +79,22 @@ content:
effect: show
effect_options: { }
selector: ''
8904d857-aaf7-4b63-a912-979bf8b877f0:
entity_type: paragraph
bundle: org_section_long_form
dependee: field_hide_heading
settings:
state: '!visible'
condition: checked
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
value: false
effect: show
effect_options: { }
selector: ''
field_section_long_form_content:
type: entity_reference_paragraphs
weight: 3
Expand All @@ -100,11 +117,28 @@ content:
third_party_settings: { }
field_show_in_org_navigation:
type: boolean_checkbox
weight: 1
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
third_party_settings:
conditional_fields:
1d4a1e14-f418-45fb-8b2a-973eff119681:
entity_type: paragraph
bundle: org_section_long_form
dependee: field_hide_heading
settings:
state: '!visible'
condition: checked
grouping: AND
values_set: 1
value: ''
values: { }
value_form:
value: false
effect: show
effect_options: { }
selector: ''
hidden:
created: true
status: true

0 comments on commit 6738905

Please sign in to comment.