PHP code example of izi-dev / nova-field-date-picker

1. Go to this page and download the library: Download izi-dev/nova-field-date-picker 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/ */

    

izi-dev / nova-field-date-picker example snippets



use IziDev\VCalendar\SuperDatePicker;

SuperDatePicker::make(__("Birthdate"), 'birthdate')
    ->

->disabledDates("2020-03-23")
->disabledDates("2020-03-25","2020-03-24")
->disabledDates(["2020-03-25","2020-03-26"])

->locale("en")

->minDate("2020-03-01")
->maxDate("2020-03-31")