-
Unanswered: Select multiple radiofield with same name attribute
Unanswered: Select multiple radiofield with same name attribute
items: [
{
xtype: 'radiofield',
name: 'stream',
checked: true
},
{
xtype: 'radiofield',
name: 'stream',
}
]
selectfield.up('#~~~').down('[name=radiofield]').disable();
I want to disable both radiofield, but above code disables only first one.
Thank you
-
Sencha - Senior Forum Manager
Instead of using down method, use query to return an array of matches. Then loop through the array and call disable on each.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us