How to modify data before validation in simple(modal) resource
beforeValidate() is working on normal resource page, but it didn't work on simple(modal) resource
i can't see dd() message after submit the form in the modal
class ManagePosts extends ManageRecords
{
protected function beforeValidate(): void
{
dd('hello');
if (isset($this->data['title']) && is_string($this->data['title'])) {