Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
43739f5f
Commit
43739f5f
authored
Feb 15, 2018
by
Elias Villiger
Browse files
Bug #5430 - Add unique ID to each radio button for dynamic update
parent
62a95292
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/AbstractBuildForm.php
View file @
43739f5f
...
...
@@ -2091,7 +2091,6 @@ abstract class AbstractBuildForm {
$attributeBase
.
=
$this
->
getAttributeFeMode
(
$formElement
[
FE_MODE
]);
$attributeBase
.
=
$this
->
getAttributeList
(
$formElement
,
[
F_FE_DATA_PATTERN_ERROR
,
F_FE_DATA_REQUIRED_ERROR
,
F_FE_DATA_MATCH_ERROR
,
F_FE_DATA_ERROR
]);
$attributeBase
.
=
Support
::
doAttribute
(
'id'
,
$formElement
[
FE_HTML_ID
]);
$attributeBase
.
=
Support
::
doAttribute
(
'name'
,
$htmlFormElementName
);
$attributeBase
.
=
Support
::
doAttribute
(
'type'
,
$formElement
[
FE_TYPE
]);
$attributeBase
.
=
Support
::
doAttribute
(
'data-load'
,
(
$formElement
[
FE_DYNAMIC_UPDATE
]
===
'yes'
)
?
'data-load'
:
''
);
...
...
@@ -2113,6 +2112,7 @@ abstract class AbstractBuildForm {
for
(
$ii
=
0
;
$ii
<
count
(
$itemValue
);
$ii
++
)
{
$jj
++
;
$attribute
.
=
Support
::
doAttribute
(
'id'
,
$formElement
[
FE_HTML_ID
]
.
'-'
.
$ii
);
$attribute
.
=
Support
::
doAttribute
(
'value'
,
$itemKey
[
$ii
],
false
);
// Always set value, even to '' - #3832
$attribute
.
=
Support
::
doAttribute
(
'title'
,
$formElement
[
FE_TOOLTIP
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment