Seiten · Laravilt
Resource Forms
Configure the form used on create and edit pages and the infolist used on view pages.
A resource's form() defines the fields on its create and edit pages, and infolist() defines what the view page shows.
Basic Form
php
Separate Form Classes
The generator puts the form in its own class (Form/UserForm.php) and the resource delegates to it:
php
Infolist
php
Global Search
Global search is enabled per panel with ->globalSearch(). It searches every resource that has an AI agent with searchable() columns:
php