FormFieldProperties class
Additional properties of a form field (FormComponent)
Constructors
- FormFieldProperties({required String fieldId, String? pageId, int? positionOnPage, DataEntity? defaultValue, bool disabled = false, })
- Creates a FormFieldProperties Object
- FormFieldProperties.fromJson({required dynamic json, required GridField field})
-
Deserializes
json
into a FormFieldProperties Objectfactory
Properties
- defaultValue → DataEntity?
-
Default value of the form field
final
- disabled → bool
-
Flag whether the form field is read-only
final
- fieldId → String
-
Id of the field the properties belong to
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
Flag whether the form field is hidden. This usually means it also has a defaultValue set
final
- pageId → String?
-
Page of the field
final
- positionOnPage → int?
-
Position on the page
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes FormFieldProperties to json
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override