'array|present', ]; } public function handle(Form $form, ActionRequest $request): JsonResponse { $form->config = $request->input('config'); return response()->json([ 'result' => $form->isDirty('config'), ]); } }