Constructor
Form field options
Parameters:
Name | Type | Description |
---|---|---|
args |
object | An object of the members. |
Extends
- Immutable.Record
Members
Members
Type:
- string
Type:
- string
A form option is used to identify all possible options for the following form field types:
The index of the PSPDFKit.Annotations.WidgetAnnotation#id in the PSPDFKit.FormFields.FormField#annotationIds property is used to find the option for this widget annotation (the index is the same):
const index = formField.annotationIds.findIndex(id => id === annotation.id);
const option = formField.options.get(index);
console.log(option.value);
Form field options
Name | Type | Description |
---|---|---|
args |
object | An object of the members. |