Skip to main content

FieldAccessor

Properties

PropertyDescription

value

Current value of the field.

Read Only

defaultValue

Get default value of the field.

Read Only

fieldName

Get name of the field.

Read Only

hasValue

This is a method that checks if current value is same as given.

Read Only

hasUnpersistedChanges

Boolean that indicates if the field has changes which are not yet persisted to server.

Read Only

valueOnServer

Get value of the field on server.

Read Only

errors

ErrorAccessor.

Read Only

Examples

Display field value

<FieldView 
field="title"
render={(fieldAccessor) => <>{fieldAccessor.value}</>}
/>