Different text in default dropdown vs when clicked to open dropdown

Hi I was wondering if it is possible to show different text in a dropdown when it is not expanded, vs when it is clicked on?

My use case is a date range: on dropdown i want to be able to select things like ‘last week’ or ‘today’, but when the dropdown is closed i want it to show that specific date range.


Based on the parameters of the dropdown, the initial idea that I would try myself would be to have the options defined as you indicated (last week, today, etc) and then ensure the callback unset’s the option selected so you could then utilize the placeholder parameter to indicate the date range.

Otherwise, the dropdown options would need to include the date range in order for it to appear as the selected value, which would clutter up the dropdown on the subsequent click.