[FEATURE] Add country select form element to form framework
With the introduction of the new country API and the correspodning Fluid form viewhelper in #99618, is the form framework extendend for a new form element "country select". The form element allows several configuration options and renderes a single select element in the frontend, using the corresponding form viewhelper. Following configuration options are available: - First option: Defines the "empty option", i.e. the first element of the select. - Prioritized countries: Defines a list of countries, which should be listed on top. - Only countries: Defines the countries to be shown in the select list. - Exclude countries: Defines the countries not to be shown in the list. Resolves: #99735 Releases: main Change-Id: I27f135bb38ba727d25fb6bdc684555972f1e8f1b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77623 Tested-by:Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/core/Documentation/Changelog/12.3/Feature-99735-NewCountrySelectFormElement.rst 38 additions, 0 deletions...ngelog/12.3/Feature-99735-NewCountrySelectFormElement.rst
- typo3/sysext/fluid/Classes/ViewHelpers/Form/CountrySelectViewHelper.php 1 addition, 1 deletion...luid/Classes/ViewHelpers/Form/CountrySelectViewHelper.php
- typo3/sysext/form/Classes/Domain/Configuration/FrameworkConfiguration/Extractors/FormElement/MultiValuePropertiesExtractor.php 1 addition, 0 deletions.../Extractors/FormElement/MultiValuePropertiesExtractor.php
- typo3/sysext/form/Classes/Domain/Configuration/FrameworkConfiguration/Extractors/PropertyCollectionElement/MultiValuePropertiesExtractor.php 1 addition, 0 deletions...opertyCollectionElement/MultiValuePropertiesExtractor.php
- typo3/sysext/form/Configuration/Yaml/FormElements/CountrySelect.yaml 113 additions, 0 deletions...t/form/Configuration/Yaml/FormElements/CountrySelect.yaml
- typo3/sysext/form/Configuration/Yaml/FormSetup.yaml 2 additions, 0 deletionstypo3/sysext/form/Configuration/Yaml/FormSetup.yaml
- typo3/sysext/form/Documentation/E/FormElements/Index.rst 17 additions, 0 deletionstypo3/sysext/form/Documentation/E/FormElements/Index.rst
- typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/CountrySelectEditor.html 14 additions, 0 deletions...nd/Partials/FormEditor/Inspector/CountrySelectEditor.html
- typo3/sysext/form/Resources/Private/Frontend/Partials/CountrySelect.html 36 additions, 0 deletions...rm/Resources/Private/Frontend/Partials/CountrySelect.html
- typo3/sysext/form/Resources/Private/FrontendVersion2/Partials/CountrySelect.html 47 additions, 0 deletions...rces/Private/FrontendVersion2/Partials/CountrySelect.html
- typo3/sysext/form/Resources/Private/Language/Database.xlf 18 additions, 1 deletiontypo3/sysext/form/Resources/Private/Language/Database.xlf
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/inspector-component.js 87 additions, 0 deletions...lic/JavaScript/backend/form-editor/inspector-component.js
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/stage-component.js 2 additions, 0 deletions.../Public/JavaScript/backend/form-editor/stage-component.js
Please register or sign in to comment