This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
You can install the package via composer:
composer require sashalenz/nova-poshta-wireforms-fields
Optionally, you can publish the views using
php artisan vendor:publish --tag="nova-poshta-wireforms-fields-views"
use Illuminate\Support\Collection;
use Sashalenz\NovaPoshtaWireformsFields\FormFields\NovaPoshtaWarehouseField;
use Xite\Wireforms\FormFields\HiddenField;
public function fields(): Collection
{
return collect([
NovaPoshtaWarehouseField::make('warehouse_ref', __('Warehouse Ref'))
->required()
->searchable()
->cityRef('CITY REF HERE')
->titleKey('warehouse_name')
->rules([
'uuid'
]),
HiddenField::make('warehouse_name', __('Warehouse Name'))
->nullable()
->rules([
'string'
])
]);
}
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.