[ https://issues.apache.org/jira/browse/OFBIZ-12659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17559173#comment-17559173 ]
Florian Motteau commented on OFBIZ-12659: ----------------------------------------- [^OFBIZ-12659.patch] empties the input when the user clicks on "No records found". > 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 > Priority: Minor > Attachments: OFBIZ-12659.patch, 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.7#820007)