# Wie kann man preselected value im Resources/config.xml haben?

**URL:** <https://forum.shopware.com/t/wie-kann-man-preselected-value-im-resources-config-xml-haben/47961>\
**Category:** Programmierung\
**Created:** [31. August 2017 um 12:04 UTC](https://forum.shopware.com/t/wie-kann-man-preselected-value-im-resources-config-xml-haben/47961 "2017-08-31T12:04:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ertuzio](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@ertuzio](https://forum.shopware.com/u/ertuzio)\
**Post date:** [31. August 2017 um 13:20 UTC](https://forum.shopware.com/t/wie-kann-man-preselected-value-im-resources-config-xml-haben/47961/5 "2017-08-31T13:20:28Z")

</div>

Ja, wir haben es jetzt gelöst es muss ein string für value sein wenn es um nummern geht…

&nbsp;

```
            activation
            Für diesen Shop Aktivieren
            Enable for this Shop
            "0"
            
                
                    "0"
                    NEIN
                    NO
                
                
                    "1"
                    JA
                    YES

```

So funktioniert es, weil 0 != &nbsp;„0“ und die values würden irgendwo&nbsp;in einen string konvertiert

---

_[View the full topic](https://forum.shopware.com/t/wie-kann-man-preselected-value-im-resources-config-xml-haben/47961)._
