norman-huth / nova-key-input
A Laravel Nova field.
Package info
github.com/Muetze42/nova-key-input
Language:Vue
pkg:composer/norman-huth/nova-key-input
Fund package maintenance!
0.0.1
2022-04-25 21:11 UTC
Requires
- php: ^8.0
- laravel/nova: ^4.0
README
This repository is archived and no longer maintained.
If you offer, maintain, or know of an actively maintained alternative to this project, please contact me at maintainers@huth.it.
If the alternative references this repository as its source, inspiration, predecessor, or migration path, I may list it here so existing users can find a maintained replacement.
Laravel Nova KeyInput Field
composer require norman-huth/nova-key-input
Based on KeyValue Field
KeyInput::make(__('Prices'), 'prices') ->rules('json') ->disableEditingKeys() ->disableAddingRows() ->disableDeletingRows() ->keyLabel(__('Country')) ->valueLabel(__('Price')) ->type('number') ->step(0.01) ->min(0) ->max(5000) ->required()