aws-amplify / amplify-studio

AWS Amplify Studio (Formerly Admin UI)
135 stars 31 forks source link

Add dynamic content to autocomplete/dropdown lists #1108

Open jackbemi opened 4 months ago

jackbemi commented 4 months ago

Describe the feature you'd like to request

It would be nice if Amplify had the ability to get dropdown list values dynamically from a table, as I imagine this is a feature others would use as well.

Describe your use case and how the feature would improve your experience.

My client wants to be able to have users enter new values into an autocomplete form, which are not existing options. They want to be able to have an admin approve new values which get added to the dropdown list.

Describe alternatives you've considered

I have considered either using a build script to get the values from the table and add them into the page before deploying the static content.

To update the values dynamically, I think I can figure out a way to have the frontend query an API which checks the 'approved values per field' table and updates the dropdown list in the frontend, but manually editing bundled js components is going to be a pain. it would be nice if this was a built-in feature.

Additional context

related amplify js issue

nishant-rajvanshi commented 4 months ago

I have been looking for a similar feature +1