Closed (fixed)
Project:
UI Suite Bootstrap
Version:
5.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2024 at 19:13 UTC
Updated:
9 Apr 2024 at 16:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
grimreaperComment #3
grimreaperCurrently by having a content prop of type links, this prevent features like https://getbootstrap.com/docs/5.3/components/dropdowns/#forms
I guess in some navigation menu / header, with custom code to generate such dropdowns, this can be useful to be able to support that. For login, search forms.
Comment #5
grimreaperUploading patch for Composer usage.
Comment #6
grimreaper@pdureau, can you please give a look at the MR and also about comment 3?
Comment #7
pdureau commentedI would prefer to keep a convenient data structure with the links prop type, at the cost of not implementing every fetaure of this component.
Comment #8
pdureau commented{% set dropdown_menu_attributes = dropdown_menu_start ? dropdown_menu_attributes.addClass(dropdown_menu_start) : dropdown_menu_attributes %}Why do we need to test
dropdown_menu_start? What would be the result of{% set dropdown_menu_attributes = dropdown_menu_attributes.addClass(dropdown_menu_start) %}if dropdown_menu_start is empty or not defined?Comment #9
grimreaperReady to merge.
Ok for you @pdureau?
Comment #10
grimreaperComment #11
pdureau commentedNot tested but reviewed
Comment #12
pdureau commentedComment #14
grimreaper