Skip to content

Commit

Permalink
Allow to change highlight via backend form (#40)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DanielSiepmann authored Nov 2, 2023
1 parent 82df4de commit 0784945
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Configuration/TCA/tx_events_domain_model_event.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,12 @@
'label' => $l10nPath . ':tx_events_domain_model_event.highlight',
'config' => [
'type' => 'check',
'renderType' => 'checkboxToggle',
'items' => [
'1' => [
'0' => $l10nPathLang . ':labels.enabled',
[
0 => '',
1 => '',
'invertStateDisplay' => false,
],
],
'default' => 0,
Expand Down
30 changes: 30 additions & 0 deletions Documentation/Changelog/3.5.2.rst
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0784945

Please sign in to comment.