Releases: lcharette/UF_FormGenerator
Releases · lcharette/UF_FormGenerator
5.1.0
5.0.1
5.0.0
4.0.1
4.0.0
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)
andgetTypes()
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 withgetDefaultType
andsetDefaultType
. - Form uses
RequestSchemaRepository
instead ofRequestSchemaInterface
. - Stricter PHP7 type throughout.
- Renamed
BaseInput
toInput
. Input
has newsetValue
,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
3.0.0-beta3
3.0.0-beta3
2.2.10
3.0.0-beta2
- Added
successCallback
option - Fix typo in README