mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-25 08:56:09 +01:00
Allow to change highlight via backend form (#40)
It was not possible to change the value of highlight for events due to broken TCA. This got fixed. The input is now streamlined to look the same as hidden to not irritate users. Relates: #10782
This commit is contained in:
parent
82df4ded99
commit
0784945902
2 changed files with 35 additions and 2 deletions
|
@ -232,9 +232,12 @@ return [
|
||||||
'label' => $l10nPath . ':tx_events_domain_model_event.highlight',
|
'label' => $l10nPath . ':tx_events_domain_model_event.highlight',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'check',
|
'type' => 'check',
|
||||||
|
'renderType' => 'checkboxToggle',
|
||||||
'items' => [
|
'items' => [
|
||||||
'1' => [
|
[
|
||||||
'0' => $l10nPathLang . ':labels.enabled',
|
0 => '',
|
||||||
|
1 => '',
|
||||||
|
'invertStateDisplay' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'default' => 0,
|
'default' => 0,
|
||||||
|
|
30
Documentation/Changelog/3.5.2.rst
Normal file
30
Documentation/Changelog/3.5.2.rst
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
3.5.2
|
||||||
|
=====
|
||||||
|
|
||||||
|
Breaking
|
||||||
|
--------
|
||||||
|
|
||||||
|
Nothing
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
|
||||||
|
Nothing
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Fix broken TCA for highlight property.
|
||||||
|
The highlight could not be saved.
|
||||||
|
An unexpected value (3) was submitted on selection.
|
||||||
|
We now migrated the property to look and act the same as hidden input.
|
||||||
|
|
||||||
|
Tasks
|
||||||
|
-----
|
||||||
|
|
||||||
|
Nothing
|
||||||
|
|
||||||
|
Deprecation
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Nothing
|
Loading…
Reference in a new issue