Global • Dropdowns rather than autocomplete for all entity reference fields

This commit is contained in:
naomi 2022-04-20 14:30:38 +01:00
parent a2aff386da
commit b66aafa5e7
9 changed files with 25 additions and 96 deletions

View File

@ -11,16 +11,6 @@ targetEntityType: oc_activity
bundle: phone_call
mode: default
content:
client:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: 0
@ -31,7 +21,7 @@ content:
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
weight: 2
region: content
settings:
rows: 5
@ -50,6 +40,7 @@ content:
third_party_settings: { }
hidden:
activity_date_time: true
client: true
description: true
oc_provider: true
oc_target: true

View File

@ -94,14 +94,10 @@ content:
placeholder: ''
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
type: options_select
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget

View File

@ -53,14 +53,10 @@ content:
default_paragraph_type: _none
third_party_settings: { }
field_delivery_partners:
type: entity_reference_autocomplete
type: options_select
weight: 7
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
field_emergency_contact:
type: entity_reference_paragraphs

View File

@ -18,14 +18,10 @@ bundle: project
mode: default
content:
client:
type: entity_reference_autocomplete
type: options_select
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
field_contract_signed_date:
type: datetime_default

View File

@ -25,14 +25,10 @@ bundle: training
mode: default
content:
client:
type: entity_reference_autocomplete
type: options_select
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
field_date_of_training:
type: datetime_default
@ -41,14 +37,10 @@ content:
settings: { }
third_party_settings: { }
field_project:
type: entity_reference_autocomplete
type: options_select
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
field_social_media:
type: boolean_checkbox

View File

@ -5,8 +5,6 @@ dependencies:
config:
- field.field.oc_case_fee.project_fee.feeds_item
- opencase_cases.oc_case_fee_type.project_fee
module:
- hide_revision_field
id: oc_case_fee.project_fee.default
targetEntityType: oc_case_fee
bundle: project_fee
@ -20,30 +18,15 @@ content:
placeholder: ''
third_party_settings: { }
oc_fee_category:
type: entity_reference_autocomplete
type: options_select
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
settings: { }
third_party_settings: { }
hidden:
feeds_item: true
name: true
oc_case: true
revision_log: true
status: true
user_id: true

View File

@ -27,16 +27,6 @@ content:
region: content
settings: { }
third_party_settings: { }
oc_case:
type: entity_reference_autocomplete
weight: 4
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_case_provider_role:
type: options_select
weight: 1
@ -44,18 +34,14 @@ content:
settings: { }
third_party_settings: { }
oc_provider:
type: entity_reference_autocomplete
type: options_select
weight: 0
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
weight: 4
region: content
settings:
rows: 5
@ -68,5 +54,6 @@ content:
hidden:
feeds_item: true
name: true
oc_case: true
status: true
user_id: true

View File

@ -95,24 +95,16 @@ content:
placeholder: ''
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete
type: options_select
weight: 11
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
field_umbrella_client:
type: entity_reference_autocomplete
type: options_select
weight: 6
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
name:
type: string_textfield

View File

@ -18,14 +18,10 @@ bundle: umbrella_client
mode: default
content:
field_tags:
type: entity_reference_autocomplete
type: options_select
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
field_type_of_umbrella_client:
type: options_select