Dropdown - show initial value not in options

Hi, I have a dropdown that shows only dates in the future.

Sometimes, the user selects a date in the past from elsewhere in the app, and then I want the dropdown to show the past date as the initial value.

However, I don’t want the past date to be in the options. Because I don’t want them to focus on the past.

How to get the initial value to show, even when its not in one of the options? Right now if it’s not in the options, the initial value is not shown.

1 Like

Great question! It sounds like you already are familiar with the basics but have you reviewed this video regarding the dropdown element before?

Also if you could provide a screenshot or short video that would be helpful to provide a possible solution for you.

Thanks :smiley:

I know your type of problem. You have to add your item from the form to the array of option items and then remove duplicates (if any).