-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement]: Define default value on Multiselect Object Type (#15871)
* Add default value for Multiselect object type * Adjust readme for select types * Remove multi select provider interface where possible * Make multi select interface optional * trigger deprecation if multi select provide interface is given * Update models/DataObject/ClassDefinition/Helper/OptionsProviderResolver.php Change version 12.0 to 11.1 Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Remove getDefaultValue method from MultiSelectOptionsProviderInterface * Add trigger for deprecation Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Revert removed Multiselect condition * Resolve multiple default values * Update release version Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Update release version Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Refactor getDataForResource() Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Fix typo Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Use multiple return types instead of 'mixed' type Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * Update docs Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> * apply suggestions to doc * add changelog * limit the deprecation trigger to multiselectoption * remove not neccessary null coalesce * fix service only covering multiselect --------- Co-authored-by: Jacob Dreesen <jacob@hdreesen.de> Co-authored-by: JiaJia Ji <kingjia90@gmail.com>
- Loading branch information
1 parent
4da5b84
commit b8627f4
Showing
7 changed files
with
90 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters