nextras/form-components

Form components for Nette Framework.

v2.0.0 2024-11-04 22:52 UTC

This package is auto-updated.

Last update: 2024-11-04 22:53:34 UTC


README

Build Downloads this Month Stable version Code coverage

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.