I need to insert a <input>
into a system with the following characteristics:
It should be an input.
As I type, it already fetches information previously entered into the system.
If you did not find it, this field will be inserted.
Most importantly, you can only allow a single data entry.
I have already found a similar solution with select2 , but the function that allows inserting a field when it is not previously located does not allow spaces (similar to the TAGS field here in Stack Overflow)
In addition, I need to block so that it is possible to insert only 1 field per <input>