A
A
Alexander2019-03-12 21:14:23
JavaScript
Alexander, 2019-03-12 21:14:23

How to place input'a elements inside select'a?

I am working on one project, a chat, in which it is necessary to implement sorting. In the finished version, sorting should occur after selecting the required option'a from the list. Moreover, one option must contain two input'a, in which you can enter some values. This is a range sort.
How can this be done? I write in react. Something tells me that this is not very correct, but I'm not sure.
Tell me how this can be done. Or the best way to do it. List screen:
5c87f6cdc0915253890848.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
KononovD, 2019-03-12
@KononovD

It seems to me that this is a custom select should be done)

D
devilsD, 2019-03-12
@devilsD

Use some kind of dropdown plugin, and hang sorting on plugin events. Or write your solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question