digitalazgroup/nova-plain-text-field

A Laravel Nova plain text field.

0.0.4 2018-10-01 18:44 UTC

This package is auto-updated.

Last update: 2024-10-21 21:17:17 UTC


README

This field lets you to show non-editable field in update form. I use this only when creating is disabled for resource so feel free to make a Pull Request.

Installation

Via composer:

composer require digitalazgroup/nova-plain-text-field

Usage

use Digitalazgroup\PlainText\PlainText;

public function fields(Request $request)
{
    return [
        PlainText::make('Area');
    ];
}

Index view

index view

Details view

details view

Update view

update view