[x ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[x ] The issue still exists against the latest master branch of yii2-tree-manager.
[x ] This is not an usage question. I confirm having gone through and read the documentation and demos.
[x ] This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
[x ] I have attempted to find the simplest possible steps to reproduce the issue.
[ ] I have included a failing test as a pull request (Optional).
Steps to reproduce the issue
Reproducible on current demo
Select "Phones & Tables" on treeview
Select "Bell" under details icon and click Save
Notice missing icon for "Phones & Tablets"
Select "Text" "under Configure Icon As"
Click "Apply Demo Config"
Select "Phones & Tables on treeview
Notice missing icon for "Phone & Tablets"
Notice "4" on as "Icon"
Set "Icon" to "bell" and click save
Notice we have our bell.
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
Prerequisites
master
branch of yii2-tree-manager.Steps to reproduce the issue
Reproducible on current demo
Select "Phones & Tables" on treeview
Select "Bell" under details icon and click Save
Notice missing icon for "Phones & Tablets"
Select "Text" "under Configure Icon As"
Click "Apply Demo Config"
Select "Phones & Tables on treeview
Notice missing icon for "Phone & Tablets"
Notice "4" on as "Icon"
Set "Icon" to "bell" and click save
Notice we have our bell.
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