widgetAction derives the form from the request (create without record_id, update with one) and answers 404 when the field's context hides the widget on that form, reusing contextAllows as the save path does. An update-only action can no longer run with a nil record through a direct POST.
16 KiB
16 KiB