FIX: allows {{d-button}} to set a form attribute (#7056)
This attribute is used when a submit button is out of a form. It makes it explicit which form this button is submitting. It's currently used in our login modal form.
This commit is contained in:
@@ -4,9 +4,12 @@ export default Ember.Component.extend({
|
||||
// subclasses need this
|
||||
layoutName: "components/d-button",
|
||||
|
||||
form: null,
|
||||
|
||||
tagName: "button",
|
||||
classNameBindings: [":btn", "noText", "btnType"],
|
||||
attributeBindings: [
|
||||
"form",
|
||||
"disabled",
|
||||
"translatedTitle:title",
|
||||
"translatedLabel:aria-label",
|
||||
|
||||
Reference in New Issue
Block a user