New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
b-dropdown: The ability to set attributes and properties for b-button object #3694
Comments
Which button's are you referring too, the generated toggle button (which is rendered either as a button, or a link when in navbar), or the |
The generated toggle button. Sorry should have made that clear. I haven't found a way I can actually set for example type="reset" instead of type="button" on that generated markup. |
You can specify When you want to set |
If you are looking to reset a |
Good idea, I didn't think of that workaround, but ya that's what I'm trying to do. Was hoping to find a way to set an attribute that would affect the generated markup directly. |
We might be able to add in a |
|
Bootstrap v2.0.0-rc.27 has been released |
* feat(b-dropdown): add `toggle-attrs` prop Add `toggle-attrs` prop to allow adding HTML attributes to the dropdown toggle * Update dropdown.js * Update dropdown.spec.js Co-authored-by: peterhegman <phegman@gitlab.com> Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
Is your feature request related to a problem? Please describe...
b-dropdown provides only variant as a way to set attributes and style on the b-button it creates
Describe the solution you'd like
Some way to set properties and attributes on the b-button that's created.
Describe alternatives you've considered
I have not found one which is why I'm filing this request.
Additional context
You need to make sure you don't generate markup and bootstrap components with no flexibility. I'm very concerned that this isn't the only case this plugin breaks or doesn't provide a way to actually use the flexibility of bootstrap itself.
The text was updated successfully, but these errors were encountered: