Needs work
Project:
BS Base
Version:
2.x-dev
Component:
BS Bootstrap
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2017 at 08:55 UTC
Updated:
12 Sep 2024 at 10:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
njagojevic commentedComment #3
njagojevic commented1. Improved core dropdown link/button support for a dropdown like in admin content type page,
2. Added support for Bootstrap button group https://v4-alpha.getbootstrap.com/components/button-group/ - for 1. case this is better solution than pure dropdown, as you can directly click on first dropdown item that is displayed by default; support added also in starterkit.
3. Also improved local action button (button Add content type on image below) with this patch,
4. For 1. I overwrited template
links--dropbutton--operations.html.twigand leftlinks--dropbutton.html.twigfor dropdown link/button in node form. It's difficult to override this template as it always prints btn-primary submit button in a dropdown item. Any suggestions how to do this?This is how form looks like after this patch:
Comment #4
njagojevic commentedComment #5
pivica commentedCommit 439896dbe from #2897504-3: Node edit form metadata form items could go to the right improved visual look of drop-down button/link component, we will need to check this issue now again and figure do we want to continue pushing it or close it.
One possible way for continuing here is to convert Drupal drop down component with Bootstrap drop down component - this still has various advantages, especially because on drop-down open layout is not affected.
Comment #6
mbovan commentedConnecting with a related issue.
Comment #7
pivica commentedNot sure about this now, let's move it to 2.x version for now.