PHP code example of norman-huth / nova-key-input

1. Go to this page and download the library: Download norman-huth/nova-key-input library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

norman-huth / nova-key-input example snippets


KeyInput::make(__('Prices'), 'prices')
    ->rules('json')
    ->disableEditingKeys()
    ->disableAddingRows()
    ->disableDeletingRows()
    ->keyLabel(__('Country'))
    ->valueLabel(__('Price'))
    ->type('number')
    ->step(0.01)
    ->min(0)
    ->max(5000)
    ->