Skip to content
Snippets Groups Projects
Commit 105d8958 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Use `form-select` for EXT:form "version2" select elements

The EXT:form "version2" is using bootstrap 5,
which requires <select> elements to use the
`form-select` class. This is now fixed for
corresponding form elements.

Resolves: #103117
Releases: main, 12.4
Change-Id: I712cecfa4c5ac8facc84bc3cf0f742867ecc9613
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83002


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarJochen Roth <rothjochen@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarJochen Roth <rothjochen@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent c0b4504b
Branches
Tags
No related merge requests found
......@@ -124,7 +124,7 @@ prototypes:
condition: 'getRootFormProperty("renderingOptions.templateVariant") == "version2"'
properties:
containerClassAttribute: 'form-element form-element-select mb-3'
elementClassAttribute: form-control
elementClassAttribute: form-select
elementErrorClassAttribute: ~
labelClassAttribute: form-label
formEditor:
......
......@@ -172,7 +172,7 @@ prototypes:
condition: 'getRootFormProperty("renderingOptions.templateVariant") == "version2"'
properties:
containerClassAttribute: 'form-element form-element-multiselect mb-3'
elementClassAttribute: 'form-control xlarge'
elementClassAttribute: 'form-select xlarge'
elementErrorClassAttribute: ~
labelClassAttribute: form-label
formEditor:
......
......@@ -135,7 +135,7 @@ prototypes:
condition: 'getRootFormProperty("renderingOptions.templateVariant") == "version2"'
properties:
containerClassAttribute: 'form-element form-element-select mb-3'
elementClassAttribute: form-control
elementClassAttribute: form-select
elementErrorClassAttribute: ~
labelClassAttribute: form-label
formEditor:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment