Skip to content

Releases: lcharette/UF_FormGenerator

5.1.0

31 Mar 14:40
5e0db83
Compare
Choose a tag to compare

What's changed

  • Update PHP & JS dependencies, requires UserFrosting 5.1

Full Changelog: 5.0.1...5.1.0

5.0.1

30 Mar 18:06
0a24b94
Compare
Choose a tag to compare

What's Changed

  • Update PHP & JS dependencies

Full Changelog: 5.0.0...5.0.1

5.0.0

28 Nov 02:19
c498b06
Compare
Choose a tag to compare

What's changed

  • Added support for UserFrosting 5
  • Data passed to forms can be mixed type, not only string. Data will still be casted to string.
  • Merge #12 - Remove fa class to allow for FA v5 fas & fab - Thanks @phillmac

Full Changelog: 4.0.1...5.0.0

4.0.1

14 May 01:20
4bcc332
Compare
Choose a tag to compare
  • Fixed issue where the value of an element whose name is using dot notation woudn't be found in the corresponding multidimensional array.

4.0.0

10 Apr 16:29
8be5018
Compare
Choose a tag to compare

See full CHANGELOG

  • Form nows register element class, instead of using hardcoded string.
  • Form has new registerType method to register new custom elements. getType(string $name) and getTypes() can be used to get the class for a type (eg. 'text', 'select', etc.) abd a list of types. removeType will unregister a type.
  • Form still fallback to Text type if type is not found, but this can now be changed with getDefaultType and setDefaultType.
  • Form uses RequestSchemaRepository instead of RequestSchemaInterface.
  • Stricter PHP7 type throughout.
  • Renamed BaseInput to Input.
  • Input has new setValue, getElement, setElement, getName & setName methods.
  • Checkbox element now pass the value to non-binary checkbox.
  • FormGeneratorController uses strict typing.
  • Finished tests and fix tests namespace. 100% coverage!
  • Added PHP-CS-Fixer, PHPStan, StyleCI configuration.
  • Updated Travis setup.

3.0.0

25 Jan 01:41
7fa2ff1
Compare
Choose a tag to compare
  • Added successCallback option
  • Support for UserFrosting 4.2

3.0.0-beta3

15 Feb 01:13
Compare
Choose a tag to compare
3.0.0-beta3 Pre-release
Pre-release
3.0.0-beta3

2.2.10

15 Feb 01:10
Compare
Choose a tag to compare
Added support for Repository

3.0.0-beta2

22 Jan 02:34
Compare
Choose a tag to compare
3.0.0-beta2 Pre-release
Pre-release
  • Added successCallback option
  • Fix typo in README

2.2.9

20 Jan 02:37
Compare
Choose a tag to compare
  • Fix issue when setting data that is a collection
  • formSuccess and confirmSuccess events now include the request data as a second argument