avatar image
Former Member

How to set value in odata of radiobuttons like inputfield

hello,

I create a form now. In a line I need only answer with yes or no. the Code now looks like this

<Label text="Billable" 
	labelFor="flag"/>
<Input value="{appointments>flag}"
	id="flag"
	placeholder="set a flag in true or false"/>

and i need radiobuttons with yes or no. I have tried to write radiobutton, but it does not work

<Label text="Billable" />
<VBox binding="{appointments>flag}">
	<RadioButton  text="true"/>
	<RadioButton  text="false"/>
</VBox>

the value property an the RadioButton is not allowed. How can i set the value from radioButton to the {appointments>flag} in ODatamodel like inputfield as above?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

Skip to Content