mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(input,textarea): data-form-type attribute is assigned to inner input (#25927)
Resolves #25908
This commit is contained in:
@ -260,7 +260,7 @@ export class Input implements ComponentInterface {
|
|||||||
componentWillLoad() {
|
componentWillLoad() {
|
||||||
this.inheritedAttributes = {
|
this.inheritedAttributes = {
|
||||||
...inheritAriaAttributes(this.el),
|
...inheritAriaAttributes(this.el),
|
||||||
...inheritAttributes(this.el, ['tabindex', 'title']),
|
...inheritAttributes(this.el, ['tabindex', 'title', 'data-form-type']),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -223,7 +223,7 @@ export class Textarea implements ComponentInterface {
|
|||||||
componentWillLoad() {
|
componentWillLoad() {
|
||||||
this.inheritedAttributes = {
|
this.inheritedAttributes = {
|
||||||
...inheritAriaAttributes(this.el),
|
...inheritAriaAttributes(this.el),
|
||||||
...inheritAttributes(this.el, ['title']),
|
...inheritAttributes(this.el, ['data-form-type', 'title']),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user