Skip to content

Releases: NitroXy/php-forms

1.4.3

23 Sep 21:47
@ext ext
Compare
Choose a tag to compare

Bugfixes:

  • BasicObject compatibility regression fixed.

1.4.2

16 Aug 22:48
@ext ext
Compare
Choose a tag to compare

Bugfixes:

  • Select now escapes label again. (backported from 1.5)

1.4.1

14 Aug 00:40
@ext ext
Compare
Choose a tag to compare

Bugfixes:

  • Fix call to protected method generate_data when nesting FormSelect in containers.

1.4.0

14 Jul 11:32
@ext ext
Compare
Choose a tag to compare

Breaking changes:

  • Form attributes is now pulled directly from $options, attr
    option is still present but deprecated.

1.3.0

08 Jun 21:30
@ext ext
Compare
Choose a tag to compare

Features:

  • Form: support addons: prefix and suffix.

1.2.4

07 Jun 19:32
@ext ext
Compare
Choose a tag to compare

Breaking changes:

  • Layout: empty groups are no longer rendered

Bugfixes:

  • Table: group hint rendering fixed

Features:

  • Form: allow arbitrary attributes to be passed to form.
  • Styling: checkboxes uses form-checkbox class.
  • Styling: all layouts now adds form-group class.
  • Styling: required fields get a required class.

1.2.3

01 Jun 22:38
@ext ext
Compare
Choose a tag to compare

Features:

  • Bootstrap: improved group rendering using grid, will autobalance
    by default but column classes can be set manually on fields.
  • Hints: cleaner row- and field-level hints.
  • Table: using labels with for on all variants.

Bugfixes:

  • File upload: current option using correct key.
  • Table: fixed group rendering for forms with only groups.

1.2.2

31 May 23:04
@ext ext
Compare
Choose a tag to compare

Breaking changes:

  • Layout render_fieldset changed prototype, now includes
    $children_cb which must be called to render all the content
    inside the fieldset.

Bugfixes:

  • Fieldset rendering now works correctly when mixing fields inside
    and outside fieldsets.

1.2.1

30 May 23:11
@ext ext
Compare
Choose a tag to compare

Bugfixes:

  • begin is now always called, fixes issues with forms containing only groups.

Features:

  • Checkbox using labels in table layout.
  • Exposed start, end and render as protected.

1.2.0

29 May 22:44
@ext ext
Compare
Choose a tag to compare

Breaking changes:

  • Layout classes must now implement render_static.
  • Layout for checkboxes changed, label is now called text.

Bugfixes:

  • Unbuffered output regression fix since 1.1.0
  • Support static fields for all layouts.

Features:

  • Checkboxes support label=false the same way other fields does.