- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 608
 
Closed
Labels
Description
First thanks for this brilliant library 👍
Here I use the generateFormElements method to create form elements before submitting the selected nodes. However I found that I don't need to submit unselectable nodes since they are locked and user shouldn't update them.
Also I found the generateFormElements have used getSelectedNodes where it picks up only selected nodes - but I would like to picked up partsel nodes as well and exclude all unselectable nodes.
Sure I could hack the original source code the achieve this but I think it's better to raise the issue here to hear your advice first :)
So here it goes:
Expected behavior
Enable user customize the returned nodes in generateFormElements. IMHO it could be achieved by either way:
- Providing a configurable option in FancytreeOptions
 - Providing a configurable option when calling the 
generateFormElementsmethod. 
Environment
- Browser type and version: Chrome 50.0.2661.86 (64-bit)
 - jQuery and jQuery UI versions: 1.12.3 / 1.11.4
 - Fancytree version: 2.17.1
 - enabled/affected extensions: 
table,dndenabled