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:
Joffrey JAFFEUX 2019-10-21 09:42:19 +02:00 committed by GitHub
parent 8f51445e9f
commit 72822aa93f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ export default Ember.Component.extend({
form: null,
type: "button",
tagName: "button",
classNameBindings: [":btn", "noText", "btnType"],
attributeBindings: [