|
|
|
|
@ -18,12 +18,12 @@ export const searchFieldMorfo = {
|
|
|
|
|
defaultElement: 'div',
|
|
|
|
|
optional: false,
|
|
|
|
|
data: [
|
|
|
|
|
{ attr: 'data-disabled', severity: 'optional' },
|
|
|
|
|
{ attr: 'data-readonly', severity: 'optional' },
|
|
|
|
|
{ attr: 'data-invalid', severity: 'optional' },
|
|
|
|
|
{ attr: 'data-required', severity: 'optional' },
|
|
|
|
|
{ attr: 'data-focused', severity: 'optional' },
|
|
|
|
|
{ attr: 'data-empty', severity: 'optional' }
|
|
|
|
|
{ attr: 'data-disabled', value: v.propRef('disabled'), severity: 'optional' },
|
|
|
|
|
{ attr: 'data-readonly', value: v.propRef('readonly'), severity: 'optional' },
|
|
|
|
|
{ attr: 'data-invalid', value: v.propRef('invalid'), severity: 'optional' },
|
|
|
|
|
{ attr: 'data-required', value: v.propRef('required'), severity: 'optional' },
|
|
|
|
|
{ attr: 'data-focused', value: v.propRef('focused'), severity: 'optional' },
|
|
|
|
|
{ attr: 'data-empty', value: v.propRef('empty'), severity: 'optional' }
|
|
|
|
|
],
|
|
|
|
|
aria: []
|
|
|
|
|
},
|
|
|
|
|
@ -36,8 +36,8 @@ export const searchFieldMorfo = {
|
|
|
|
|
role: 'searchbox',
|
|
|
|
|
optional: false,
|
|
|
|
|
data: [
|
|
|
|
|
{ attr: 'data-disabled', severity: 'optional' },
|
|
|
|
|
{ attr: 'data-readonly', severity: 'optional' }
|
|
|
|
|
{ attr: 'data-disabled', value: v.propRef('disabled'), severity: 'optional' },
|
|
|
|
|
{ attr: 'data-readonly', value: v.propRef('readonly'), severity: 'optional' }
|
|
|
|
|
],
|
|
|
|
|
aria: [
|
|
|
|
|
{ attr: 'type', value: v.literal('search') },
|
|
|
|
|
@ -70,7 +70,7 @@ export const searchFieldMorfo = {
|
|
|
|
|
defaultElement: 'button',
|
|
|
|
|
role: 'button',
|
|
|
|
|
optional: true,
|
|
|
|
|
data: [{ attr: 'data-disabled', severity: 'optional' }],
|
|
|
|
|
data: [{ attr: 'data-disabled', value: v.propRef('clearDisabled'), severity: 'optional' }],
|
|
|
|
|
aria: [
|
|
|
|
|
{ attr: 'type', value: v.literal('button') },
|
|
|
|
|
{
|
|
|
|
|
|