ajaximple/forms

Nette form extensions from AJAXimple.

v3.0.4 2021-07-26 19:15 UTC

This package is auto-updated.

Last update: 2022-04-26 21:10:15 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