Open maul75 opened 7 months ago
If I set a hidden field in a repeatable item with a random string as default value, I always have the same value in all repeatable fields?
Hidden::make('hash')->default(Str::random(8))
I solved this currently with setting this values with the afterCreate and afterUpdate hooks.
Description:
If I set a hidden field in a repeatable item with a random string as default value, I always have the same value in all repeatable fields?
Hidden::make('hash')->default(Str::random(8))