Skip to content

Default values for relationship repeater #15466

Answered by Cyrille37
Cyrille37 asked this question in Help
Discussion options

You must be logged in to vote

Ok, thanks @leandrocfe 👍
I use afterStateHydrated() to add default data to Repeater::make('day') and remove the call to Repeater::make('hours')->default([...])

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Cyrille37
Comment options

@Cyrille37
Comment options

Answer selected by Cyrille37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants