mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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