ToDoista
ToDoista copied to clipboard
Form is not working
On the create ToDo Log page the form that takes s username is not working.
I can work on this issue if you assign it to me
@garimasingh128
@garimasingh128 i want to do this if u assigned me?
Hi @garimasingh128 kindly assign me this issue :)
Hi @garimasingh128
I cloned and went through the project.
First of all KUDOS on writing such nice and well-formatted code.
Coming to the topic at hand,
On this page, the React component for Username
is using a <select>
tag that renders and displays data fetched from the DB.
This will work when it fetches data from the DB and display the usernames to get selected.
I can either change this to an <input>
tag and make the options function obsolete.
Or work on the DB side to make sure the data is fetched and rendered here.
Which one should I do???
In the case of Description:
, it uses an <input>
so can be used right now.
The username basically will show up a drop down menu with all the registered users. You don't have to input them explicitly, like we do in description so I think the second option will be better.
I want to work on this issue
Has someone started to work on this or can I start?
I will not be working on this issue @garimasingh128. So If you want then reassign it some one
How to set up the local environment for testing the changes?
If the server is running, the user list is fetched and displayed properly. I think that was the intent of the author, so form will work in that case. If there are no users, then they should be redirected to create user page with alert saying "Please create user to create a log" or something like that.
I've got a PR related to this. @garimasingh128
Do check and let me know.