execut / yii2-widget-bootstraptreeview

Bootstrap Tree View widget wrapper for yii2
Apache License 2.0
46 stars 25 forks source link

AdminLTE & jquery-ui #12

Closed letsjump closed 7 years ago

letsjump commented 7 years ago

Your plugin implementation is loading jquery-ui, which add some css classes to every bootstrap button and create some strange layout issues (bigger button fonts, paddings, and so on). Is there a way to disable this behaviour by disabling jquery-ui that seems to be not required by the original johnmiles plugin?

execut commented 7 years ago

Hello! Jquery UI is only needed for TreeFilterInput. You can disable it by specifying a parameter template:

echo TreeView::widget([
    'template' => TreeView::TEPLATE_SIMPLE
]);

I deleted now ui when it is not needed: https://github.com/execut/yii2-widget-bootstraptreeview/commit/87b42493dca1d61caac52003ef871bf7593279c0 Update the package to new version. Thank you for your note!