Form + Dropdown with data from DBº
Unanswered
Sloth bear posted this in #help-forum
Sloth bearOP
Hi to all!! I'm stuck and I know it's had a simple solution.
I had a page rendering a form to create a record, But one of the fields of the form is a dropdown with data from de DB.
The problem are this.
- I got error with the interaction of the Dropdown
- .map don't exits on the var (that is a typo error)
- conflicts with use client and async funtions.
I don't know if I need a correction of my code, maybe with a good example of how to do it is better
I had a page rendering a form to create a record, But one of the fields of the form is a dropdown with data from de DB.
The problem are this.
- I got error with the interaction of the Dropdown
- .map don't exits on the var (that is a typo error)
- conflicts with use client and async funtions.
I don't know if I need a correction of my code, maybe with a good example of how to do it is better