mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
refactor(input, textarea): remove extra aria-disabled (#26818)
This commit is contained in:
@ -641,7 +641,6 @@ export class Input implements ComponentInterface {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Host
|
<Host
|
||||||
aria-disabled={disabled ? 'true' : null}
|
|
||||||
class={createColorClasses(this.color, {
|
class={createColorClasses(this.color, {
|
||||||
[mode]: true,
|
[mode]: true,
|
||||||
'has-value': this.hasValue(),
|
'has-value': this.hasValue(),
|
||||||
|
@ -623,7 +623,6 @@ For textareas that do not have a visible label, developers should use "aria-labe
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Host
|
<Host
|
||||||
aria-disabled={disabled ? 'true' : null}
|
|
||||||
class={createColorClasses(this.color, {
|
class={createColorClasses(this.color, {
|
||||||
[mode]: true,
|
[mode]: true,
|
||||||
'has-value': this.hasValue(),
|
'has-value': this.hasValue(),
|
||||||
|
Reference in New Issue
Block a user