Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
F

Formatted Number Field

This package is possibly abandoned. Please proceed with care.

Readme

Laravel Nova Formatted Number Field

A formatted number input field for Laravel Nova

Installation

Install the package into a Laravel app that uses Nova with Composer:

composer require mziraki/nova-formatted-number-field

Usage

Add the field to your resource in the fields method:

use MZiraki\Fields\FormattedNumber;

FormattedNumber::make('Price')
    ->rules('numeric', /* ... */),

The field extends the Laravel\Nova\Fields\Number field, so all the usual methods are available.

It is recommended that you include the standard numeric validation rule, as it is not automatically added.

The field is displayed as an <input type="text"> element.

Screenshots

Back to Top
Added 7 years ago
Last updated 6 Years Ago
Version v0.0.2
Composer
mziraki/nova-formatted-number-field
GitHub stars 5
Packagist downloads 9,763

Favorites

5 users favorited

Rating

1.70
(out of 5)
★★★★★
★★★★
★★★
★★
3 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas