1T dropdown "add item" issue

Hi folks.
I wonder if anybody can help mw with the workflow setup for @eli 1T dropdown plugin. I have send a message 17 days ago, but no reponse.

I have set the dropdown to allow users to add new options. They need to create this option before the main thing is created. My workflow is:

image

I am essentially trying to populate the dropdown with the “added” value, but this WF does not seems to do anything after clicking the add option button.

Hi @white-eye,

This action is to programmatically set the selected value, not to add the value to the options list.

In order to add the value to the list, if your list of options is coming from your database, you will need to create the new thing in the database. After it’s been created you will run this action to set it as the selected value on the dropdown element.

Hope that helps!

Ok thanks @eli .

The dropdown is adding a value to a field/column of a thing my DB. In this case a category for a mood board image. I guess could create the row with only the new dropdown value and then update the same row with the rest of the fields, but was hoping to have an option similiar to the selectize dropdown “last value added” state.

Just so that I understand, I would need to create 3 workflows

  1. create a “category” on selection of the add option button
  2. update the row above to fill in the rest of the data
  3. delete the above row if the user decides to cancel adding the entry.

@eli I may be missing something here

I have created a workflow which adds a new item to the DB successfully, but the “set selected value” action still does not set the value.

image

The item has definitely been added to the database as it is available in the dropdown after creation

image

Just send the id you are using in your options list here, not the json object. For example, if you are using the unique id as the ‘value’ in your options, just set the unique id here.

I am using the same value as the option list. This data is being called from supabase.

image

This workflow also does not show the selected value.

image

Can you record a loom of your setup? Feel free to dm it directly to me if that’s easier. We’ll get this figured out :slight_smile:

Hey Eli, I’m having an issue using 1t dropdown with the Air Date/Time Picker and a repeating group. The repeating group displays dates along with a 1t dropdown in a group for selecting times.

When I remove a date via air/date time picker, it correctly removes it from the repeating group. However, if I add the same date back to the repeating group, the previously selected time reappears in the 1t dropdown. The issue is that this time doesn’t update in the database unless I first change it to a different time and then back to the original one. Let also add for removal I have a data base I use to add the dates independently too when the remove date function runs it deletes that date completely.

I’ve tried resetting specific groups and elements, but that resets all the times instead of just the one I need. This works fine if I clear all the dates at once, but not for individual dates. Any ideas on how to resolve this?