I made the create expense thing work. I also made them diplay in a table at the bottom. I found that after creating an expense, the text remained in the input boxes. To fix this, I cleared the input field state values after the expense was successfully added to the database. By add setName(“”); setAmount(“”); when with the toast. The date part is nto working right now but that is want i am going to do next.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.