Do you have an example or can you elaborate on the getRawValue and beforeblur issues that you experienced - I actually haven't looked at or thought too much about getRawValue and how it should work - as this component has multiple values it's not quite the same as combo - if you (or anyone) has thoughts or suggestions, I'd appreciate hearing them.
@xantus Thanks!
Mehran Can you please provide additional info about what you mean?
Is applyTo really what you are looking for, and if so, what structure would you expect to see in the dom to apply the component to?
Or would you be happy to see the transform option to transform an existing combo?
Dear Dan,
Actually I have am using phpmaker to generate the forms.
It is generating a normal <form> with some other input box but I want to change one of the Input Text box to your great SuperBox selector. What is the best solution
The applyTo method should do the same as it does with ComboBox - if you specify the id of an input element, it should use that element and the parent form to render to.
If you would like me to take a look, please set up a test page where you use applyTo with both a ComboBox and with the SuperBoxSelect.
I did the same of your sample and it showing fine now! it is great. but the problem is I can not get the data back from the form (I have 3 fields in a form that use your SuperBox)
Can you kindly guide me what is wrong because after submit I can not see any data passed.
I did the same of your sample and it showing fine now! it is great. but the problem is I can not get the data back from the form (I have 3 fields in a form that use your SuperBox)
Can you kindly guide me what is wrong because after submit I can not see any data passed.
Dear Dan,
I found what is wrong.
"name" in this section:
var sbs = new Ext.ux.form.SuperBoxSelect({
...
name: 'states',
can not be the same of your input textbox <input name='states'
I have 2 question/requests:
1) This is your example (I just copy and post your code). After submitting, I am just getting only one of the selected Items. Please try it yourself. http://niaar.com/bookadmin/applyTo.htm
even I did this in the same order as you mentioned:
this.addItemBox(val,display,caption,cls,style);
this.fireEvent('additem',this,val);
but still I am getting only one item after submit
2) is there any way that we can defined after how many letter show the list of selection? because now when I typed just the first letter, it gives me a long list