API Documentation for: 1.1.1
Show:

ObjectFormElement Class

Namespace: Canteen\Controllers

Represents a single form element

Constructor

ObjectFormElement

(
  • name
  • value
  • tabIndex
)

Parameters:

  • name String

    The name of the field

  • value String

    The value of the element

  • tabIndex Int

    The tabIndex

Properties

attributes

String

Additional attributes to element

classes

String

Additional CSS classes to add on the element

description

String

For checkboxes, the additional description

label

String

The human-readable label

name

String

The name of the Object item field

objectType

String

The object type

tabIndex

Int

The tab index value

template

String

The template name

type

String

For input type's, the name of the element (e.g., text, password, date)

value

String

The value associated with an object's value