knowledgepixels / nanodash

A web client to browse and publish nanopublications.
GNU Affero General Public License v3.0
26 stars 2 forks source link

Disallow selecting non-URI entry in guided-choice textfield #84

Open tkuhn opened 1 year ago

tkuhn commented 1 year ago

Typing some text in a guided-choice textfield not only filters the responses from the API but also shows that text itself as a possible choice itself. That should only be the case if the entered text has the form of a (http/https) URI.

I am not sure where this entry of the currently typed text comes from. It doesn't seem to be there in plain select2 textfields when used outside of Wicket, and I don't see any place where it's added in the our own code...