Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 709 Bytes

buttons.md

File metadata and controls

32 lines (22 loc) · 709 Bytes

Form Buttons

You can specify a number of Buttons which will be rendered at the bottom of the form.

Each button has a type and a role.

Currently supported types are:

  • text_button
  • outline_button
  • raised_button

These are styled according to the corresponding Material Design specifications.

Supported roles are:

  • submit, which submits the form according to the form's submit_to property
  • back, which navigates the app up one level if possible
{
    "type": "text_button",
    "role": "submit",
    "text": "Save"
}

See Also