kartik-v / yii2-tree-manager

An advanced tree management module using nested sets for Yii 2.
http://demos.krajee.com/tree-manager
Other
150 stars 107 forks source link

'List' and 'Text' actions inconsistent, 'List' doesn't work as expected #253

Closed BillHeaton closed 4 years ago

BillHeaton commented 4 years ago

Prerequisites

Steps to reproduce the issue

  1. Reproducible on current demo

  2. Select "Phones & Tables" on treeview

  3. Select "Bell" under details icon and click Save

  4. Notice missing icon for "Phones & Tablets"

  5. Select "Text" "under Configure Icon As"

  6. Click "Apply Demo Config"

  7. Select "Phones & Tables on treeview

  8. Notice missing icon for "Phone & Tablets"

  9. Notice "4" on as "Icon"

  10. Set "Icon" to "bell" and click save

  11. Notice we have our bell.

  12. Notice demo gets set back to list.

Expected behavior and actual behavior

When I follow those steps, I see...

I was expecting... Both options should be equivalent. On list the "4" the database and "fa fa-4" doesn't exist On text the "bell" is saved in the database and "fa fa-bell does exits

Environment

Bootstrap4 and 'fontAwesome' => true

Browsers

Operating System

Libraries

Isolating the problem

kartik-v commented 4 years ago

Resolved via above commit.