MrKurt
25 Apr 2007, 12:45 PM
I've run into a couple of places today that require me to grab a reference to a particular object in order to set the value. I'd like to be able to pass a value through to pretty much anything where it would make sense. Oddly enough, the ComboBox takes a value parameter, even though it's not listed in the config options.
Current annoyances:
* TextField
* TextArea
* DatePicker
On the textfield, I was able to set a value in the autoCreate config. I could probably use the html option on the TextArea's autoCreate to do the same thing, but that would require me escaping it myself, and I'm pretty lazy. :)
Also, on the form fields, it would nice to be able to pass an element that's used for "applyTo" rather than having to call that myself.
Current annoyances:
* TextField
* TextArea
* DatePicker
On the textfield, I was able to set a value in the autoCreate config. I could probably use the html option on the TextArea's autoCreate to do the same thing, but that would require me escaping it myself, and I'm pretty lazy. :)
Also, on the form fields, it would nice to be able to pass an element that's used for "applyTo" rather than having to call that myself.