front: combobox v2 for new itinerary modal
closes #14241 part of https://github.com/osrd-project/osrd-confidential/issues/1166
This PR only is about :
- developing the new
ListElementComponent(custom combo box suggestions list), and having a story displaying it. - developing a function filtering the path items according to the ACs.
When testing, I could not edit path items of trains. I suppose that is not part of this PR. Could you add a bit more description :pray:
#14241
Indeed, at the moment, it's only about developing the "custom combo box" in ui, and to have a story displaying it. Editing path items will arrive in a future PR. I'm also adding a bit of description to this PR 👍
With a lot of CH codes we have an horizontal and vertical scroll bar:
With a lot of CH codes we have an horizontal and vertical scroll bar:
Thanks, I've added a max-width to the secondary codes.