ajaximple/forms

Nette form extensions from AJAXimple.

v4.1.0 2024-04-15 18:26 UTC

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