This Nova 4 field has lot of options to format number
composer require eom-plus/nova-number-plus
In your nova resource make the field EomPlus\NovaSignature\Signature
.
This field fits perfectly with a TEXT
column as it store data in base64 format and can be used both for resources and actions.
use EomPlus\NovaNumberPlus\NumberPlus;
// ...
public function fields()
{
return [
// ...
NumberPlus::make('Amount'),
// ...
];
}
prefix
: A word, letter, or number placed beforevalue
suffix
: A word, letter, or number placed aftervalue
separator
: Character used as the thousands separatordecimal
: Character used to separate the integer part from the fractional part of a numberprecision
: The precision property returns the number of bits of precision that can be represented.minimumFractionDigits
: The minimum number of digits after the decimal separator.prefill
: Set initial value before mount the componentreverseFill
: Fills string from the right side of the maskmasked
: Value will be masked (with contain separation characters)min
: The min attribute specifies the minimum value for an input element.nax
: The max attribute specifies the maximum value for an input element.nullValue
: Value of input element is set to a default when no value present
Please give a ⭐️ if this project helped you!
- Nova Rating Field - A Star rating Nova 4 field to use in your Laravel Nova apps.
- Nova Feedback Field - An Emoji feedback Nova 4 field to use in your Laravel Nova apps.
- Nova Input Group - A Laravel Nova 4 text field formatted as input group
- Nova Signature - A Laravel Nova 4 signature pad
Take a look to our Github repositories as we have a lot of forked nova components with fixes that are still not merge into main owner branch.
The MIT License (MIT). Please see License File for more information.