I’m trying to build a sophisticated selector, so I use the free layout.
I want to give the opportunity for the user to edit the name of the options, and update the value in the Database.
The issue here is that I can’t manage to extract the value of the input field from inside the option container
Here you can see what it looks like:
I resolved it by myself by using this trick:
I created a component out of the input field element. I had this idea since there is no way this issue would happen inside a component since it could be placed anywhere.
Then I created a on edit element trigger, and created a workflow with the on change event, and emitted the on edit element with the input text as an event.
Then I was able to access it from within my selector component
Thank you @Joyce !
I built something even better inside of the dropdown element with filters, button to add new rows in Xano, effects, and more.
If you’re interested you can reach out to me and I can record a video that explains how to build this.