Databind to attribute other than "text"
I want to databind to an attribute other than text. I want to bind to the value attribute since I want to select the text but retrieve the value. Below is an example of what I want to get working
<select id="mySelector" data-binding="{@source: mylist}{@event-onchange (To: mylist}{@event-onchange) mailto:mylist}{@event-onchange: dropdownChanged}">
<option data-binding="{@template-for: mylist}{@text (To: mylist}{@text) mailto:mylist}{@text: graphicName}{@value (To: graphicName}{@value) mailto:graphicName}{@value: graphicId}"></option>
</select>
GE 4.4
HTML5 Viewer 5.2.5
0
Please sign in to leave a comment.
Comments
0 comments