Hello, this is just a wrapper for input mask plugin.
php: >=8.0
laravel/nova: ^4.0
Install the package in a Laravel Nova project via Composer:
# Install nova-inputmask
composer require nurmuhammet/nova-inputmask
use Nurmuhammet\NovaInputmask\NovaInputmask;
// ...
NovaInputmask::make('Phone number')
->mask('999999') // mask syntax here
// Storing raw value can be good for validation and search porpuses, so use storeRawValue() method. Resolved value will be masked automatically.
NovaInputmask::make('Phone number')
->storeRawValue()