Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
a85f9245
Commit
a85f9245
authored
Dec 15, 2019
by
Carsten Rose
Browse files
Fix problem saving wrong value after dynamic update.
parent
6557e683
Pipeline
#2971
failed with stages
in 1 minute and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/Form/Checkbox.php
View file @
a85f9245
...
...
@@ -249,9 +249,9 @@ class Checkbox {
}
// ' ' - This is necessary to correctly align an empty input.
$value
=
(
$itemValue
[
$ii
]
===
''
)
?
' '
:
$itemValue
[
$ii
];
$value
Show
=
(
$itemValue
[
$ii
]
===
''
)
?
' '
:
$itemValue
[
$ii
];
$htmlElement
=
'<input '
.
$attribute
.
'>'
.
$value
;
$htmlElement
=
'<input '
.
$attribute
.
'>'
.
$value
Show
;
$checkboxLabelId
=
HelperFormElement
::
getCheckboxRadioOptionId
(
$formElement
[
FE_HTML_ID
],
$ii
,
HTML_ID_EXTENSION_LABEL
);
$html
.
=
Support
::
wrapTag
(
"<label class='"
.
$formElement
[
FE_BUTTON_CLASS
]
.
"
$classActive
' id=
\"
$checkboxLabelId
\"
>"
,
...
...
@@ -345,9 +345,9 @@ class Checkbox {
}
// ' ' - This is necessary to correctly align an empty input.
$value
=
(
$itemValue
[
$ii
]
===
''
)
?
' '
:
$itemValue
[
$ii
];
$value
Show
=
(
$itemValue
[
$ii
]
===
''
)
?
' '
:
$itemValue
[
$ii
];
$htmlElement
=
'<input '
.
$attribute
.
'>'
.
$value
;
$htmlElement
=
'<input '
.
$attribute
.
'>'
.
$value
Show
;
$checkboxLabelId
=
HelperFormElement
::
getCheckboxRadioOptionId
(
$formElement
[
FE_HTML_ID
],
$ii
,
HTML_ID_EXTENSION_LABEL
);
$htmlElement
=
Support
::
wrapTag
(
"<label class=
\"
$checkboxClass
\"
$attributeBaseLabel
id=
\"
$checkboxLabelId
\"
>"
,
$htmlElement
,
true
);
...
...
Write
Preview
Markdown
is supported
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