# (App Entwicklung) Colorpicker Konfigurations Input Feld Label hinzufügen klappt nicht

**URL:** https://forum.shopware.com/t/app-entwicklung-colorpicker-konfigurations-input-feld-label-hinzufuegen-klappt-nicht/97998
**Category:** Shopware 6 (German)
**Tags:** programming
**Created:** [13. Januar 2023 um 13:54 UTC](https://forum.shopware.com/t/app-entwicklung-colorpicker-konfigurations-input-feld-label-hinzufuegen-klappt-nicht/97998 "2023-01-13T13:54:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Khronos](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@Khronos](https://forum.shopware.com/u/Khronos)
#### Post date: [13. Januar 2023 um 13:54 UTC](https://forum.shopware.com/t/app-entwicklung-colorpicker-konfigurations-input-feld-label-hinzufuegen-klappt-nicht/97998/1 "2023-01-13T13:54:24Z")

</div>

Hallo,

ich versuche in der config.xml dem Colorpicker Input-Field ein Label hinzuzufügen, doch leider wirft das System mir einen Fehler, dass es nur „name“ erwartet.

```auto
<input-field type="colorpicker">
  <label>Text color</label>
  <name>textColor</name>
  <defaultValue>#000000</defaultValue>
</input-field>

```

defaultValue oder value werden auch gänzlich ignoriert. Was mache ich falsch?

Vielen Dank für eure Hilfe.

---

<div class="post-metadata">

### Author: ![abdullah](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@abdullah](https://forum.shopware.com/u/abdullah)
#### Post date: [13. Januar 2023 um 15:50 UTC](https://forum.shopware.com/t/app-entwicklung-colorpicker-konfigurations-input-feld-label-hinzufuegen-klappt-nicht/97998/2 "2023-01-13T15:50:47Z")

</div>

Auf die Reihenfolge achten. Schau dir hierzu die xsd an.

---

<div class="post-metadata">

### Author: ![Khronos](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@Khronos](https://forum.shopware.com/u/Khronos)
#### Post date: [16. Januar 2023 um 07:16 UTC](https://forum.shopware.com/t/app-entwicklung-colorpicker-konfigurations-input-feld-label-hinzufuegen-klappt-nicht/97998/3 "2023-01-16T07:16:48Z")

</div>

Hi, danke das war’s. Aber defaultValue funktioniert leider immer noch nicht. Hast du dafür noch eine Idee?

---

<div class="post-metadata">

### Author: ![abdullah](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@abdullah](https://forum.shopware.com/u/abdullah)
#### Post date: [16. Januar 2023 um 11:14 UTC](https://forum.shopware.com/t/app-entwicklung-colorpicker-konfigurations-input-feld-label-hinzufuegen-klappt-nicht/97998/4 "2023-01-16T11:14:54Z")

</div>

Bei mir auf dem System funktioniert die Angabe des default Values. Eventuell ist bei dir etwas beim anlegen schiefgelaufen. Einmal die App deinstallieren und erneut installieren vielleicht?

```auto
<input-field type="colorpicker">
            <name>textColor</name>
            <label>Text color</label>
            <defaultValue>#000000</defaultValue>
</input-field>

```
