79141869

Date: 2024-10-30 15:55:54
Score: 0.5
Natty:
Report link

In the default function under the return line you should add ->hiddenOnForm() this hides the field and maintains the default value. Then under this add the - > dehydrated(true) this is to ensure the value is processed and saved.

Only using - > dehydrated() (also without the true) wont do it alone.

Hope it helps.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: varzoeaa