Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

An AngularJS HTML template with the following variables in its scope:

Name Type

Return type

Description

`viewModel`

(FieldViewModel)

an internal Docupace Start UI object associated with this field

`model`

(InputModel)

available only on input fields and field groups, a reference to the fields input model

`$index`

number

an index of Rich Text field in the parent Field Group or on the page


Example of Custom content
Field value: {{ viewModel.model.value }}
<span ng-show="!viewModel.model.validityState.isValid">
  (invalid)
</span>
  • No labels