API Docs for version 1.2.6401

FormOption

Module: Circuit

Summary

Object to define a form control

Item Index

Properties

action

Syntax

action

String

Summary

Click action for buttons. Possible values are: 'submit' (submits form), 'reset' (resets form), 'submit_reset' (submit and then resets form). 'submit' is the default.

defaultValue

Syntax

defaultValue

String

Summary

Default value of the control. For dropdown for example this can be used to preselect a value. Not applicable to buttons.

notification

Syntax

notification

String

Summary

Notification message shown to user when performing an action (clicking a button)

value

Syntax

value

String

Summary

Initial value of control. E.g. initial populated value for input field.