You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding an item using: $('.dd').nestable('add', {"id":1,"children":[{"id":4}]});
..it would be nice if the layout would consider a custom build function. Like when using: buildItem(item) { ... }
Actual behavior
When adding an item, the default layout is used for a new item.
Steps to reproduce the behavior
Use a custom layout with: buildItem(item) { ... }
Then use: $('.dd').nestable('add', {"id":1,"children":[{"id":4}]});
The text was updated successfully, but these errors were encountered:
Expected behavior
When adding an item using:
$('.dd').nestable('add', {"id":1,"children":[{"id":4}]});
..it would be nice if the layout would consider a custom build function. Like when using:
buildItem(item) { ... }
Actual behavior
When adding an item, the default layout is used for a new item.
Steps to reproduce the behavior
Use a custom layout with:
buildItem(item) { ... }
Then use:
$('.dd').nestable('add', {"id":1,"children":[{"id":4}]});
The text was updated successfully, but these errors were encountered: