Define several tags on the same text field

0

Holas

I would like to implement the one that can define several types of products, that I consult from a database, in a single text field, something like the definition of labels when a question is formulated in StackOverflow:

I found this example: link , but do not search while writing and I would like it to be the same as in StackOverflow. I tried to copy the code from that page but apparently it uses more js files that I can not find.

Any help is much appreciated.

    
asked by Alcibiades Palestini 12.10.2018 в 18:00
source

1 answer

0

I suppose that when loading the page, you must have an arrangement in Javascript where you have stored all the labels. At a visual level it would be an autocomplete component that you should implement, be it based on html, css and pure javascript, or if you work with an Angular framework it would be much better. If you can, consider creating a tag table in the database and creating a many-to-many relationship between that table and the product table.)

    
answered by 12.10.2018 в 18:14