From 056855e84ba74d120b0913df7712ffa11d4fd83d Mon Sep 17 00:00:00 2001 From: Philipp Seibt Date: Wed, 28 Feb 2024 17:36:09 +0100 Subject: [PATCH] remove blank option for navigation position field --- CHANGELOG.md | 2 +- contao/dca/tl_content.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec59fc8..b51d161 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Types of changes - [Added] Add contao 5.3 support - [Added] Add fields to change content slider settings -- [Added] Add option to put the navigation on top of the timeline +- [Added] Add option to put the navigation on top of the timeline [[#10](https://github.com/pdir/animated-timeline-bundle/issues/10)] - [Changed] Requires Contao 4.13 and PHP 8.0 as minimum requirements ## [1.2.1](https://github.com/contao-themes-net/animated-timeline-bundle/tree/1.2.1) – 2023-06-08 diff --git a/contao/dca/tl_content.php b/contao/dca/tl_content.php index b6ccdcb..d51c089 100644 --- a/contao/dca/tl_content.php +++ b/contao/dca/tl_content.php @@ -123,7 +123,7 @@ 'exclude' => true, 'inputType' => 'select', 'options' => &$GLOBALS['TL_LANG']['tl_content']['timeline_navPos']['options'], - 'eval' => ['includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'], + 'eval' => ['chosen' => true, 'tl_class' => 'w50'], 'sql' => 'TEXT null default "bottom"', ];