You need to sign in to do that
Don't have an account?
How to update specific filed from a table in lwc
Hello Everyone,
I have created a custom table which has multiple rows and this table consists of two lightning date input fields where user can enter the date. Now my requirement is if a user enters one date input field other date-input field should automatically get updated by adding 6 months . Issue is I am able to update it automatically but it is actually updating all the row's field . I want only corresponding row's field should be updated .Let say I have 5 rows and user enters the date on the first row then only first row's other date input field should be updated not all the rows. I hope my problem is clear. I am not sure how to segregate the rows with user input. If anyone has any idea ,please help me on this.
Thanks in advance.
Can you share your code here?
Please find the code below: -