Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 823 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 823 Bytes

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()

Stand With Ukraine Woman. Life. Freedom.