You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developers and packages add field types: a PHP class plus a Blade view and a React component, registered with the drivers. Document with an example field.
Done in 6c3bfd7; docs in docs/advanced-usage/custom-fields.md. A custom type is a Field subclass with its own $type, a Blade view ($view or Stencil::view()), props and rules, plus a React component registered by type. php artisan make:stencil-field Rating generates all three, and the docs walk through it with a rating field as the example.
Activity
Custom field types: field classes with their own view, make:stencil-f…
n4ff4h commentedon Nov 4, 2026
Done in 6c3bfd7; docs in docs/advanced-usage/custom-fields.md. A custom type is a
Fieldsubclass with its own$type, a Blade view ($vieworStencil::view()), props and rules, plus a React component registered by type.php artisan make:stencil-field Ratinggenerates all three, and the docs walk through it with a rating field as the example.