Closed melanie-adler closed 1 month ago
there is no task describing how the update functionality is established. please update this.
Your AC is missing the information about the success message. Please add this as a bullet point.
When you want to edit an existing entry in an array, you won't be using .filter()
. You use that array method to remove entries from an array. Which array method would be more suitable to modify an existing entry in an array?
👍 LGTM
hey together, we tried to add our most favourite word, but unfortunately it does not fit in your card. ;) (you could use "word-break: break-words" in your card)
And maybe you could sort the cards ordered by date and time.
Value Proposition
As a
user
I want to
update the details of existing transactions
,so that
they reflect the most accurate and relevant information
.Description
Acceptance Criteria
Tasks
feature/update-transaction
TransactionItem
add 2ndButton
from existing button component.TransactionForm
component.Button
component createhandleEdit
function and call it in thehandleSubmit
function.map
method withid
anduseState
to update the selected transaction.TransactionForm
component make sure to the input fields are pre-filled with the already existing data from the transaction.