Преглед на файлове

better type de ressource selection UI

bach преди 5 дни
родител
ревизия
3be7e7dfa8
променени са 1 файла, в които са добавени 14 реда и са изтрити 2 реда
  1. 14 2
      config/sync/core.entity_form_display.node.ressource.default.yml

+ 14 - 2
config/sync/core.entity_form_display.node.ressource.default.yml

@@ -21,6 +21,7 @@ dependencies:
     - image.style.thumbnail
     - node.type.ressource
   module:
+    - autocomplete_deluxe
     - datetime
     - field_group
     - file
@@ -256,10 +257,21 @@ content:
     settings: {  }
     third_party_settings: {  }
   field_type_de_ressource:
-    type: options_select
+    type: autocomplete_deluxe
     weight: 137
     region: content
-    settings: {  }
+    settings:
+      match_operator: CONTAINS
+      autocomplete_route_name: autocomplete_deluxe.autocomplete
+      size: 60
+      selection_handler: default
+      limit: 0
+      min_length: 0
+      delimiter: ''
+      not_found_message_allow: false
+      not_found_message: 'The term ''@term'' will be added'
+      new_terms: false
+      no_empty_message: 'No terms could be found. Please type in order to add a new term.'
     third_party_settings: {  }
   field_videos:
     type: video_embed_field_textfield