Issue #3384583: Default value widget is not updated on field config change
1 unresolved thread
Merge request reports
Activity
Filter activity
added 41 commits
-
0f3535e6...b438bb0d - 38 commits from branch
project:11.x
- ddc99a48 - Added a failing test
- 9c44361e - Cspell
- 67dad99a - wip
Toggle commit list-
0f3535e6...b438bb0d - 38 commits from branch
added 67 commits
-
fb0c16ea...aa3ecb2c - 64 commits from branch
project:11.x
- b2b9c84e - Added a failing test
- 637f34a8 - Cspell
- 402e7396 - rebuild default value widget
Toggle commit list-
fb0c16ea...aa3ecb2c - 64 commits from branch
added 1 commit
- 884fbef5 - Added a check for handler settings in EntityReferenceAutocompleteWidget
97 97 $entity = $items->getEntity(); 98 98 $referenced_entities = $items->referencedEntities(); 99 99 100 $selection_settings = []; 100 101 // Append the match operation to the selection settings. 101 $selection_settings = $this->getFieldSetting('handler_settings') + [ 102 if ($this->getFieldSetting('handler_settings') !== NULL) { Earlier the default value widget was built only once when the form was initially loaded (with the default handler settings) but now it is rebuilt after every change made to the handler settings. And in the case of changing the selection plugin for a field, the handler settings are wiped out which is why a check is required here.
Edited by Srishti Bankar
added 1 commit
- 2fa4f6bf - Expanded testFieldAdminHandler() to test changing the handler
added 176 commits
-
2fa4f6bf...5ed165d5 - 170 commits from branch
project:11.x
- 7fa95ce3 - Added a failing test
- 33103c0c - Cspell
- b29176c2 - rebuild default value widget
- 97e200e0 - remove unused method
- c0280ef9 - Added a check for handler settings in EntityReferenceAutocompleteWidget
- cee08afd - Expanded testFieldAdminHandler() to test changing the handler
Toggle commit list-
2fa4f6bf...5ed165d5 - 170 commits from branch
Please register or sign in to reply