You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a form where users are able to enter the opening and closing times for an establishment via a form which holds information for each day of the week.
I have used nested useFieldArrays, the first will hold the days of the week to the opening times, and the second will hold the opening times for the specific day. e.g. Monday can have multiple times when the shop closes between the day
I would like to know how I can set the opening times for a day and then copy/paste these values for other days of the week.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a form where users are able to enter the opening and closing times for an establishment via a form which holds information for each day of the week.
I have used nested useFieldArrays, the first will hold the days of the week to the opening times, and the second will hold the opening times for the specific day. e.g. Monday can have multiple times when the shop closes between the day
I would like to know how I can set the opening times for a day and then copy/paste these values for other days of the week.
So essentially a copy/paste feature for each day.
Any hints would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions