[
https://issues.apache.org/jira/browse/OFBIZ-12659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619549#comment-17619549
]
Florian Motteau edited comment on OFBIZ-12659 at 10/18/22 1:31 PM:
-------------------------------------------------------------------
PR available as well [https://github.com/apache/ofbiz-framework/pull/553]
was (Author: JIRAUSER289190):
https://github.com/apache/ofbiz-framework/pull/553
> 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.10#820010)