[ https://issues.apache.org/jira/browse/OFBIZ-12659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620434#comment-17620434 ]
Florian Motteau commented on OFBIZ-12659: ----------------------------------------- ok, thanks again ! > Lookups: No result option should not be selectable > -------------------------------------------------- > > Key: OFBIZ-12659 > URL: https://issues.apache.org/jira/browse/OFBIZ-12659 > Project: OFBiz > Issue Type: Bug > Components: themes > Affects Versions: 18.12.05, 22.01.01, Upcoming Branch > Reporter: Florian Motteau > Assignee: Jacques Le Roux > Priority: Minor > Fix For: 22.01.01 > > Attachments: OFBIZ-12659.patch, image-2022-10-19-14-26-49-350.png, > lookups-no-record-found.mp4 > > > 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 -- This message was sent by Atlassian Jira (v8.20.10#820010)