Looking to hire Laravel developers? Try LaraJobs

laravel-nova-inline-text maintained by codingmonkeys

Description
A Laravel Nova field which allows updating texts inline.
Last update
2022/09/15 12:02 (dev-main)
License
Links
Downloads
3 016
Tags

Comments
comments powered by Disqus

Inline text field for Laravel Nova 4

A Laravel Nova field which allows updating texts inline.

Installation:

composer require codingmonkeys/laravel-nova-inline-text

Example:

InlineText::make('time')
    ->type('time')
    ->placeholder('##:##')
    ->rules('date_format:"H:i"')
    ->successMessage('The time has been updated!')
    ->help('hh:mm')
    ->resolveUsing(function ($value) {
        return Str::substr($value, 0, 5);
    }),