PHP code example of chinleung / nova-autofill
1. Go to this page and download the library: Download chinleung/nova-autofill 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/ */
chinleung / nova-autofill example snippets
php
public function fields(Request $request)
{
return [
Text::make('Shipping Address Line 1')
->autofill(),
];
}
php
public function fields(Request $request)
{
return [
Text::make('Shipping Address Line 1')
->autofill('address_line_1'),
];
}