A
A
Arman2015-11-09 16:36:56
JavaScript
Arman, 2015-11-09 16:36:56

Input + select + tree is there a solution?

Good day.

Before writing my bike, I decided to make sure that there is no such thing yet. Google is still silent, but maybe you came across a ready-made solution or close to it.

What you want in the end:
1. The user can manually specify what he wants (input)
2. The user can select what is already there (select)
3. The select can be in the form of a tree, you can either select a parent or its descendants (tree)
4. If selected from the select, then the hidden fields of what is selected are filled. So that later, when editing, you can again indicate what he chose from select
5. If you start to drive data into the input, then there is a substitution indicating the full path (?) of the tree - Parents, children
6. You can turn off the input mode, then there will be an error if you specify something not from the list at all.

I found only the select + tree:
www.jeasyui.com/demo/main/index.php?plugin=ComboTree

Thanks;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2015-11-09
@Arik

Customize select2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question