Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12659

Lookups: No result option should not be selectable

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 18.12.05, 22.01.01, Upcoming Branch
    • 22.01.01
    • themes
    • None

    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

      Attachments

        1. image-2022-10-19-14-26-49-350.png
          9 kB
          Florian Motteau
        2. lookups-no-record-found.mp4
          50 kB
          Florian Motteau
        3. OFBIZ-12659.patch
          2 kB
          Florian Motteau

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            FloMo Florian Motteau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment