Details
Description
On lookups, if the search request returns nothing, we have a dropdown with only one option : "No records found".
This option is selectable, and when the user clicks it the input is filled with the string "No records found". When the form is submitted, this value is submitted as well.
The "No records found" option should not be selectable, it should not be possible to submit the field with this value. When clicking on this option, we could either :
- leave the input with its previous value (do nothing)
- empty the input