Statistics
42674
48
4
38d
Badges
Dependencies

Nextras Forms

Build Status Downloads this Month Stable version Code coverage

List of components:

  • DatePicker - date picker, represented by DateTime object
  • DateTimePicker - date & time picker, represented by DateTime object
  • Tyheahead - the best autocomplete for your forms
  • BS3InputMacros - input macros for Bootstrap 3 (adds some css classes)
  • Bs3FormRenderer - renders forms quicky in Bootstrap 3 design
  • ComponentControl - form's control which contains Component interface and my have own template, receive signals & render snippets;

Installation

The best way to install is using Composer:

$ composer require nextras/forms

For Date(Time)Picker we recommend use DateTime Picker for Bootstrap. See JS init script.

Documentation

Add in your config.neon:

extensions:
    nextras.form: Nextras\Forms\Bridges\NetteDI\FormsExtension
  • v2.0.1 2.0.1

    New patch version 2.0.1 is out! 🍌

    Changes:

    • fixed ComponentControl & calling attached method for BaseControl & trait.
    • see full commit changelog
  • v2.0.0 2.0.0

    We are proud to release stable version 2.0.0 with full support for Nette 2.4 🍇.

    Changes:

    • removed OptionList & MultiOptionList, which are currently well supported in Nette itself (BC BREAK!)
    • minimal PHP version is 5.6, minimal Nette version is 2.4 (BC BREAK!)
    • changed namespace of FormsExtension to Nextras\Forms\Bridges\NetteDI (BC BREAK!)
    • updated & fixed snippet support for ComponentControl
    • fixed support for Nette 2.4
    • see full commit changelog
  • v2.0.0-rc1 2.0.0 RC1

    • removed OptionList & MultiOptionList, which are currently well supported in Nette itself (BC BREAK!)
    • minimal PHP version is 5.6, minimal Nette version is 2.4 (BC BREAK!)
    • changed namespace of FormsExtension to Nextras\Forms\Bridges\NetteDI (BC BREAK!)
    • updated & fixed snippet support for ComponentControl
    • fixed support for Nette 2.4
  • v1.6.2 1.6.2

    • improved: error message styling in Bs3FormRenderer, thanks @pavelkouril
    • fix: DateTimePicker regular expression fix, thanks @redwormik
    • fix: Bs3InputMacros compatibility with Nette Utils 2.4
  • v1.6.1 1.6.1

    • fix: TemplateControlTrait: fixed template initialization in beforeRender
    • fix: Bs3FormRenderer: fixed miskey for form's primary button
  • v1.6.0 1.6.0

    • BC break - BaseInputMacros::input and ::label have new 3rd parameter (eb2a13d)
    • fixed: Bootstrap 3 macros: adding control-label class only to general input label (e34aacf)
  • v1.5.0 1.5.0

    • Bs3FormRenderer: added support for inline radio list (thanks @jtojnar)
    • Bs3FormRenderer: added option to set the primary button (thanks @jtojnar) [https://github.com/nextras/forms/commit/03e42aaf5967548b6337fd174200f41f129d0db3]
    • FormsExtension: added (thanks @TomasVotruba)
    • allowed php7 (yay 🍇)
    • full commit changelog

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com