Combine dropdowns inside data table and user input in the same cell

Hi everyone,

I’d like to create a column allowing users to make a selection from a given list (dropdown) or enter their custom input. Both are possible separately - documentation provides all details- but I don’t know if it is combine both. Anyone had a similar use case?

I have an alternative solution also - creating two columns one for dropdown one for user input and then process data based on inputs but want to know if it exists a cleaner solution.

Thanks in advance