cernanalysispreservation / analysispreservation.cern.ch

Source code for the CERN Analysis Preservation portal
https://analysispreservation.cern.ch/
GNU General Public License v3.0
43 stars 30 forks source link

ui: forms - fix text input suggestions display #2856

Closed pamfilos closed 8 months ago

pamfilos commented 8 months ago

Bug report

What is the current behavior? In the select widget where we have ui:schema with listSuggestions e.g.

          "path": {
            "ui:widget":"select",
            "ui:options": {
              "suggestions": "/api/cms/primary-datasets?query="
            }
          }

when we type a query to search on, it doesn't display results, if they don't start with the query passed It should work and display the responses either way