So you mean that you need something like*
- Eric
- Dave
- Steve
- Ethan
- Taylor
- John Doe (Selected)
- Sabrina
- Miranda
- Mike
- Robert
- Carl
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to make a combobox that always contains the selected item. With combobox I mean a searchable select where not all results are listed.
So for instance I have selected user id "150" with name "John Doe", I want to get a result with ie. 5 users before John Doe and 5 after.
There must be someone who solved this before? Or would you tackle the problem completely different?
I also need arrows back- and forward, so at minimum I would need to know the previous and next in the database (on the way it is sorted).
Please or to participate in this conversation.