Finish the flow for IEF with new option in the autocomplete
1 unresolved thread
1 unresolved thread
This MR created two new configurations for the IEF Complex flow. Also, it changes the JS in order to create a flow where the user don't need to click at "Add existing" or "Cancel"
Merge request reports
Activity
- Resolved by Cassio Almeida
- Resolved by Cassio Almeida
- Resolved by Cassio Almeida
- Resolved by Cassio Almeida
43 58 */ 44 59 Drupal.behaviors.ErwIef = { 45 60 attach: function (context, settings) { 46 47 61 // Adds a 'Create new item' option to the autocomplete. 48 var $autocomplete = $(context).find('input.form-autocomplete').once('erw-autocomplete'); 62 let $autocomplete = $(context).find('input.form-autocomplete').once('erw-autocomplete'); 49 63 if ($autocomplete.length) { 50 var createText = Drupal.t('Create New Item'); 64 let createText = Drupal.t(drupalSettings.entity_reference_widgets.erw_new_item_text); changed this line in version 3 of the diff
added 2 commits
Please register or sign in to reply