I'm using Extjs 6.5. I want to implement a picker that have 4 fields: String, Number, Combobox, Color.
I want to save value as an object as follow:
{
string: 'its my name',
number: 12,
combobox: 'combo',
color: 'ffffffff'
}
That means when you call field.getValue()
it return above object, but In field textfield only string
value is shown. User can expand picker and edit some fields. I can't understand whats rawToValue
and valueToRaw
in Ext.form.field.picker
? What are these?