ajaximple / forms
Nette form extensions from AJAXimple.
v3.0.4
2021-07-26 19:15 UTC
Requires
- php: >=7.3
- nette/application: ^3.0.5
- nette/di: ^3.0.3
- nette/forms: ^3.0.4
- nette/neon: ^3.1.2
- nette/utils: ^3.0.3
README
This extension add more form components to Yours forms.
Instalation
Download
The best way to install AJAXimple/forms
is using Composer:
$ composer require ajaximple/forms
Registering
You can enable the extension using your neon config:
extensions:
AJAXimpleForms: AJAXimple\Forms\AJAXimpleFormsExtension
Injecting
You can simply inject factory in Your Presenters/Services:
public function __construct(AJAXimple\Forms\FormFactory $formFactory)
{
parent::__construct();
....
}
or You can create your own form using:
public function createComponentMyForm()
{
$form = new AJAXimple\Forms\Form();
...
return $form;
}
Conclusion
This extension requires Nette3.0 and it is property of Antonín Jehlář © 2020