Statistics
54809
50
5
19d
Badges
Tags
forms
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.4 2.0.4

    New patch version 2.0.4 is out! 🍎

    Changes:

    • fixed regression from 2.0.2 when added RadioList wrapper, now it's not correctly added in partial rendering mode
    • see full commit changelog
  • v2.0.3 2.0.3

    New patch version 2.0.3 is out! 🍏

    Changes:

  • v2.0.2 2.0.2

    New patch version 2.0.2 is out! 🍍

    Changes:

    • do not strip JS validation data in DateTimePicker
    • added definition as npm package, thanks @Trejjam
    • added support for DateTimeInterface in DateTimePicker, thanks Frantisek Vesely
    • fixed date time picker detection & fixed MS Edge , thanks @Vlczech
    • Bs3Renderer: fixed rendering radio buttons
    • Bs3Macros: fixed rendering in included template - fixed compatibility with Nette 2.4
    • see full commit changelog
  • 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