ember-form-master-2000
ember-form-master-2000 copied to clipboard
Append widget classes to defaults
Given an fm-submit
with default class of btn btn-primary
it would be nice to be able to do the following:
{{fm-submit value='Submit' class='float-right'}}
and have it generate
<button type="submit" value="Submit" class="btn primary float-right">
Is there a way to do this through some other means?
@utilityboy You can hack around this right now with submitButtonClass='btn primary float-right'
but I agree that is not ideal. Do any of bootstrap/semantic/etc. actually put a wrapper around a submit button. I think maybe fm-submit
should render as a button with no wrapper. Then you could manipulate classes directly. Any thoughts @Emerson?