Select elements not loaded with pref
![]() ![]() |
Select elements are not loaded with preferences (they default to the first option) when using an object literal (ex { 'value1':'display1', 'value2':'display2' } ), but they are when using an array literal (ex ['value1', 'value2'] ). I would also like to request the ability to use object literals for radio groups. |
![]() ![]() |
spunit262 wrote:Fixed. You can now use _def : "some option" here's an example I test with:
work:{
section: ['Work',
'What do you work as?'],
label: 'Job',
type: 'select',
options:{
carp:'Carpenter',
truck:'Truck Driver',
porn:'Porn Star'
},
_def: 'Porn Star'
}spunit262 wrote:Why? An array seems fine, what would be different with an object literal? |

