Christophe Herreman
Christophe Herreman

Reputation: 16085

Setting hardcoded value in bound attribute

I have a component with a "label" attribute and since this label will not change, I want to specify it when I declare the component:

<parking-list
        label="PARKINGS"
        parkings="{{parkings}}"
        on-showparking="parkingList_showParkingHandler"></parking-list>
<parking-list
        label="SHOP AND GO"
        parkings="{{shopAndGoParkings}}"
        on-showparking="parkingList_showParkingHandler"></parking-list>

The label value is not rendered properly though. I worked around this with label="{{'PARKINGS'}}". Is this simply not supported or will this be supported in a future release?

Upvotes: 0

Views: 58

Answers (1)

G&#252;nter Z&#246;chbauer
G&#252;nter Z&#246;chbauer

Reputation: 658175

should be fixed in 0.8.0 see discussion

Upvotes: 1

Related Questions