Global

Members


of :boolean

This property enables/disables focus on first field in Adaptive Form.

Type:
  • boolean
Since:
  • 6.5

Methods


dispatchEvent(eventName [, payload])

dispatch an event

This API dispatches an event on the field object which bubbles up to the guideContainer.

Parameters:
Name Type Argument Description
eventName string

name of the event to dispatch

payload Object <optional>

extra payload


customContextProperty(property, value)

Their exists a customPropertyMap which can be set from the server. For prefilling files fileAttachmentMap key should be present in the map.

Parameters:
Name Type Description
property string

property to update in the custom property map

value *

value of the property

Returns:

old value of the property since 6.0

Type
*

handleDraftSave(saveBtnConfig, options)

Save draft of the current adaptive form loaded

Parameters:
Name Type Description
saveBtnConfig object

Optional parameter for providing

options object

Optional parameter options can consist of following -

  • success: {function} Handler executed in case when the draft is successfully saved
  • error: {function} Handler executed in case of draft failure
  • context {object} The context with which the success or error handler needs to be executed