Class FormFieldOptions

The class represents the list of options for a field. The class supports an index style access to the options, e.g. myfield.options[2] or myfield.options.red.

Property Summary 

PropertyDescription
optionsCount: Number (read-only)Returns the number of option values.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
getOptionsCount()Returns the number of option values.

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Property Details 

optionsCount 

optionsCount: Number (read-only)

Returns the number of option values.


Method Details 

getOptionsCount() 

getOptionsCount(): Number

Returns the number of option values.


DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!