hangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegram
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
435 B
22 lines
435 B
9 years ago
|
/** */
|
||
|
Ext.define('Ext.aria.form.field.Text', {
|
||
|
override: 'Ext.form.field.Text',
|
||
|
|
||
|
requires: [
|
||
|
'Ext.aria.form.field.Base'
|
||
|
],
|
||
|
|
||
|
ariaGetRenderAttributes: function() {
|
||
|
var me = this,
|
||
|
attrs;
|
||
|
|
||
|
attrs = me.callParent();
|
||
|
|
||
|
if (me.allowBlank !== undefined) {
|
||
|
attrs['aria-required'] = !me.allowBlank;
|
||
|
}
|
||
|
|
||
|
return attrs;
|
||
|
}
|
||
|
});
|