Nextras Form Components
This package provides architecture and UI components for building Nette forms.
Architecture components provide Nette Forms' BaseControl in two flavors:
- BaseControl that inherits from
Nette\Application\UI\Component
- form control with support for signal & state handling; - BaseControl that inherits from
Nette\Application\UI\Control
- form control with support for template rendering + same feature as in UI\Component;
UI components:
- AutocompleteControl - text input with support for autocomplete signal handling;
- DateControl - date picker - text input returning
DateTimeImmutable
instance; - DateTimeControl - date tiime picker - text input returning
DateTimeImmutable
instance;
Installation
The best way to install is using Composer:
$ composer require nextras/form-components
Documentation
See examples directory.
License
Combined MIT and Nette's . See full license.
-
v1.0.0 1.0.0
This is first release of nextras/forms spin-off for Nette 3.0
🍎 Changes:
- reimplemented for Nette Framework 3.0
- changed architecture - now components inherit from
Nette\ComponentModel\Component
and form's functionality is reimplemented by traits (BC break!)