StaticTextField

Column Type none

This field allows you to put static content inline in CRUD forms.

StaticTextField::make('my_text)
    ->setContent('Do not forget to do some things.');

You can also specify a Vue component to use to render this content. The Component should use the base-input mixin and accept a content prop which can use however you like.

StaticTextField::make('my_text')
    ->setContent([
        'title' => 'Hey you!',
        'message' => 'Yeah you. Careful now.',
    ])
    ->setComponent('my-alert-component'),