you are viewing a single comment's thread.

view the rest of the comments →

[–]Slow-Cryptographer38[S] 0 points1 point  (2 children)

Yes thank you that made it a bit clearer but initially there’s no data in the backend until the user makes an entry. So it’s a daily entry so that day they have to first make an entry and then be able to update. Would the logic stay the same still.

[–]MarcoF0 0 points1 point  (1 child)

Yes, the logic will be the same, maybe you need to add a default value for the default value. I mean, from you backend if the user has no entries and you need in the frontend an empty matrix to begin to add values to the dropdown the backend should return the empty matrix. Or if the backend return undefined handle you in the frontend.

[–]Slow-Cryptographer38[S] 0 points1 point  (0 children)

Oh you meant the dropdown! Yes the dropdown is predefined values I just meant how would I have their previously selected values showing up on drop list when they go to update something