Create dropdown selection from MongoDB collection (REACT)
$10-30 USD
Ukończony
Opublikowano około 4 lata temu
$10-30 USD
Płatne przy odbiorze
I would like to render drop down list basing on Mongodb collection.
I can do it but always the first row of selected option is null.
Therfore I could handle first row using onChange method.
Feel free to contact me in case of additional questions.
See the code below :
componentDidMount() {
fetch('[login to view URL]')
.then(res => [login to view URL]())
.then(data => {
[login to view URL]({
Projects: data,
});
[login to view URL](data);
})
}
and rendering part :
<[login to view URL] >
<[login to view URL]>Assign Project</[login to view URL]>
<[login to view URL] as="Select" onChange={[login to view URL]} >
{[login to view URL]((proj, i) =>
<option> {proj.project_name}</option>
)}
</[login to view URL]>
</[login to view URL]>
Thanks a lot ,
Hi,
I’m reactJs, nodeJs expert and can resolve your error quickly.
Let’s connect remotely and will give you solution.
You can pay me whatever you want.
Thanks,
Nikunj Mavani
$20 USD w 1 dzień
5,0 (6 opinii)
4,3
4,3
3 freelancerzy składają oferty o średniej wysokości $20 USD dla tej pracy
Hello - A perfect project for me since i am a seasoned React.js developer and i am available for a long term commitment.
I have helped several startups and small/medium enterprises develop cross platform applications and solutions from concept to launch using Postgres/MongoDB.
I use Slack for day-to-day communication and Jira/Trello for task management.
Drop me a message and i would love to tell you more about my abilities and we can discuss the project in more detail.
Look forward to hearing back from you.
Best,
Umair
I am an Experienced Reatjs developer, and I have worked on something similar,
based on my understanding, you want to render drop-down list using data fetched from the databases