stdcm: Selecting suggestion doesn't filled up correctly input field #9308
Labels
area:front
Work on Standard OSRD Interface modules
kind:bug
Something isn't working
module:stdcm
Short-Term DCM
postponed
Postponed task due to other priorities or waiting for dependencies
severity:minor
Minor severity bug
Note
Trigrams will be displayed differently, the UI is being designed. It should prevent this misunderstanding.
What happened?
When I type a text searching for a intermediate Operational Point, I get some suggestions. In this case, typing "Le Pon" propose a suggestion "LPT Le Pontet". If I select it (with mouse or with keyboard), the input field is filled up with "Le Pontet", not what I selected which is "LPT Le Pontet". If I click again on the
∨
on the right of the input field, and click again on the suggestion (or even if I click on the side to close the suggestions' popup), the input field is not filled up with "LPT Le Pontet".What did you expect to happen?
I expect the field to be filled up with what is shown and selected in the suggestion popup.
How can we reproduce it (as minimally and precisely as possible)?
Enregistrement.de.l.ecran.2024-10-11.112954.mp4
On which environments the bug occurs?
Recette (SNCF)
On which browser the bug occurs?
Firefox
OSRD version (top right corner
Account
button >Informations
)96c960e (editoast, core) but nothing shown for front
The text was updated successfully, but these errors were encountered: