mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(button): pass the property type instead of hardcoding button
This commit is contained in:
@ -132,7 +132,7 @@ export class Button {
|
||||
};
|
||||
|
||||
const attrs = (TagType === 'button')
|
||||
? {type: 'button'}
|
||||
? { type: this.type }
|
||||
: {};
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user