Using tagify without data source

I want to create an email input where user can insert as many emails as he wants into a form input with gmail-like tagging system style. When a user hit a comma, the email should be tagged if it's a valid email. I've tried converting it to a tagify but it needs a data source and I just want the style at the moment and then collect the emails and deal with them as an array in the server action(which also I don't know how to do it in wappler beta 7)
Any help will be much appreciated.

Have you tried the Data Store? This is a data source which is in the browser so you don't need a database.

So what should I do? I'd appreciate if you explain more.

Create a Data Store on the page, give it the structure you want (add whatever fields you need) and then use actions to populate it. So if you want to allow tags to be created with the Tagify feature, you would have an action to insert the tag into the Data Store table. Then all the tags are there and you can process them as you need. So if you then want to store them in a database, you send the Data Store data to your Server Connect API Action and process accordingly.

Search this community for Data Store and you should find all the info you need.

1 Like

Thank you

1 Like

I've tried to do it with a database query(I've decided it's better). It won't work at all even though I see the results of the query on the browser's Network panel! When I try to insert some data into the input, it won't show any of the emails! Can you please tell me what I am doing wrong?