Migrate to SDK v2.0.0
Feathery's
2.0.0
library is an overhaul of the existing API, with a better set of event listeners and parameter naming.- The
onSkip
andonCustomAction
event listeners are now deprecated. We've introduced theonAction
event listener, which runs once for each action that's triggered. - The
setValues()
function is nowsetFieldValues()
setOptions()
->setFieldOptions()
setStep()
->goToStep()
lastStep
->isLastStep()
stepProperties()
->getStepProperties()
fields
->getFormFields()
setErrors()
->setFieldErrors()
- The
onChange
changeKeys
property is now deprecated. The changed field ID can be found in thetrigger
property astrigger.id
previousStepName
,stepName
, andtotalSteps
are now available only from thegetStepProperties()
function.
Last modified 2mo ago