Closed innovaweb-dev closed 7 years ago
@rifton007 Actually, this should go to HtmlHelper::dropdown
, and the FormHelper::dropdown
should only forward the align
option to the HtmlHelper::dropdown
(or something similar), could you modify that?
I tried, but I do not understand how to do it. Could you explain to me how to do it and I would do it with pleasure. Sorry to not be able to do better.
@rifton007 I'll merge this pull request this week-end to a separate branch and make the change to the test cases before merging it to the master
branch.
Thank you Holt 59, I will watch your changes to better understand. Sorry still not to be able to do it myself.
I have merged this PR to the pr129 branch. I will probably move the part to the Html helper, and add the necessary tests.
I have fixed issue with the PR and the tests:
align
option to HtmlHelper::dropdown
(it probably belongs here rather than in the FormHelper
);align
option from FormHelper::dropdown
to HtmlHelper::dropdown
(and in the same time added a way to easily add new forwarding options);dropdown-menu-left
class to the generated dropdown (since it is now added by default).Thanks again for the initial PR!
Thank you @Holt59 Thanks to you for this plugin and all the work you do
This pull add option "dropdown-menu-right". To default, the dropdownButton is aligned to left. The align property if it is set, waits for the 'right' or 'left' values.