In ExtJs, I would like to get the equivalent:
<input type="radio"><label><input type="text"></label>
If the input field is associated with a switch.
new Ext.form.RadioGroup({ id:"alerts", items: [ new Ext.form.Radio({ boxLabel:'Now', }), new Ext.form.Radio({ boxLabel:'On', }) ] );
I would like the label "On" to have Ext.form.TextField next to it.
I tried to add Ext.form.TextField to the RadioGroup, but it will not display (as I assume because it is not a radio), and I cannot add elements to the Radio object.
Any advice, thanks, thanks.
extjs
babadbee
source share