Releases
2.0.0
complete refactoring - thx to https://github.com/KES777 for extensive testing
fixed many edge case issues from v1
removed class FormDataJsonOptions
. Use bare {}
objects now as options
removed method FormDataJson.flattenJsonFormValues
. Use flatList = true
option in toJson
. Note: Output still has changed significantly to v1.
changed method FormDataJson.setInputValue
and is now considered internal only. No direct replacement. Use fromJson
if you need to set any input value
removed 3rd parameter formToJson/toJson
callback function. It is now set into option filesCallback
renamed method formToJson
to toJson
renamed method fillFormFromJsonValues
to fromJson
renamed option unsetAllInputsOnFill
to clearOthers
renamed option includeUncheckedAsNull
to uncheckedValue
and now represent the value that unchecked inputs should have in output
added option skipEmpty
added option fileReaderFunction
added option triggerChangeEvent
added option resetOthers
added method clear
added method reset
added unminified compiled file
optimized compiled files
You can’t perform that action at this time.