---
title: "Farbwahleinschränkung bei Carousel-Background-Color"
url: "https://www.typo3.net/d/122999-farbwahleinschraenkung-bei-carousel-background-color"
source: "typo3.net"
tags: ["Hosting","Installation & Update","Bootstrap","Frage","TCA"]
created: "2016-08-15"
last_reply: "2016-08-16"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Farbwahleinschränkung bei Carousel-Background-Color

Hosting › Installation & Update · 1 Antwort · gestartet 2016-08-15

## Eröffnungsbeitrag

**krike1** · 2016-08-15 · [Beitrag #1](https://www.typo3.net/d/122999-farbwahleinschraenkung-bei-carousel-background-color/1)

Hallo Zusammen,

ich würde gerne die Farbwahl des Color-Pickers einschränken.
Hat jemand da einen Tipp für mich?

Hier der aktuelle Code:

'background_color' => array(
            'exclude' => 0,
            'label' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:carousel_item.background_color',
            'config' => array(
                'type' => 'input',
                'size' => 10,
                'eval' => 'trim',
                'default' => '#333333',
                'wizards' => array(
                    'colorChoice' => array('type' => 'colorbox',
                        'title' => 'LLL:EXT:lang/locallang_wizards:colorpicker_title',
                        'module' => array(
                            'name' => 'wizard_colorpicker'
                        ),
                        'dim' => '20x20',
                        'JSopenParams' => 'height=600,width=380,status=0,menubar=0,scrollbars=1',
                    ),
                ),
            ),
        ),

## Antworten

### [#2](https://www.typo3.net/d/122999-farbwahleinschraenkung-bei-carousel-background-color/2) · krike1 · 2016-08-16

Hallo,

hat sich erledigt. Ich habe anstelle des Color-Pickers einfach ein Select gemacht, so dass auch nur die gewollten Farben ausgewählt werden können.

Gruß
Krike

---

Quelle: „Farbwahleinschränkung bei Carousel-Background-Color“, typo3.net, https://www.typo3.net/d/122999-farbwahleinschraenkung-bei-carousel-background-color
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
