FIX: d-button should default type to button (#8217)
This will prevent unexpected behaviour of d-button being considered as a submit button.
This commit is contained in:
parent
8f51445e9f
commit
72822aa93f
|
@ -7,6 +7,8 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
form: null,
|
form: null,
|
||||||
|
|
||||||
|
type: "button",
|
||||||
|
|
||||||
tagName: "button",
|
tagName: "button",
|
||||||
classNameBindings: [":btn", "noText", "btnType"],
|
classNameBindings: [":btn", "noText", "btnType"],
|
||||||
attributeBindings: [
|
attributeBindings: [
|
||||||
|
|
Loading…
Reference in New Issue