-
select2
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Something like Select2 is probably what you are looking for. Otherwise you will need to override the logic in the form to lookup the values in the database (assuming each value is unique). You probably would do this in the fields clean_field() method. Here you would look up the value and if it exists, grab the PK. If it doesn’t exist you would have to either create a new value for it, or return an error but that isn’t particularly user friendly over using something like select2.