GeoBlazor Pro


layout: pro title: FieldInput parent: Pro Classes grand_parent: GeoBlazor Pro —

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Widgets

FieldInput Class

This is a read-only support class that represents a field’s input. It helps provide a consistent API for the different types input used by the FeatureForm widget. The values are computed internally by the FeatureFormViewModel.
ArcGIS Maps SDK for JavaScript

public class FieldInput : dymaptic.GeoBlazor.Pro.Components.Widgets.SupportInput,
System.IEquatable<dymaptic.GeoBlazor.Pro.Components.Widgets.FieldInput>

Inheritance System.Object 🡒 SupportInput 🡒 FieldInput

Implements System.IEquatable<FieldInput>

Constructors

FieldInput(string, Domain, bool, string, Field, GroupInput, string, bool, bool, bool, string, string, int, int, string, bool, bool, bool, bool, object, bool) Constructor

This is a read-only support class that represents a field’s input. It helps provide a consistent API for the different types input used by the FeatureForm widget. The values are computed internally by the FeatureFormViewModel.
ArcGIS Maps SDK for JavaScript

public FieldInput(string DataType, dymaptic.GeoBlazor.Core.Components.Widgets.Domain Domain, bool Editable, string? Error, dymaptic.GeoBlazor.Core.Components.Layers.Field Field, dymaptic.GeoBlazor.Pro.Components.Widgets.GroupInput Group, string Hint, bool IncludeDate, bool IncludeTime, bool IncludeTimestamp, string InputType, string Label, int MaxLength, int MinLength, string Name, bool Required, bool Submittable, bool Updating, bool Valid, object Value, bool Visible);

Parameters

DataType System.String

The type of data displayed by the field input. Possible values are listed below.

Domain dymaptic.GeoBlazor.Core.Components.Widgets.Domain

The type of data displayed by the field input. Possible values are listed below.

Editable System.Boolean

Indicates if the field is editable.

Error System.String

If the input field’s value is invalid, this property returns a validation error code. Otherwise, it is null.

Field dymaptic.GeoBlazor.Core.Components.Layers.Field

The associated field.

Group GroupInput

The group containing the field input.

Hint System.String

A hint for the field’s value. This is a temporary placeholder inputs in either TextAreaInput or TextBoxInput.

IncludeDate System.Boolean

Indicates whether date information is included for date inputs. Default Value: true

IncludeTime System.Boolean

Indicates whether time information is included for date inputs. Default Value: true

IncludeTimestamp System.Boolean

Indicates whether timestamp information is included for date inputs. Default Value: false

InputType System.String

The type of editor used when working with string fields. Possible values: “text-box” “text-area”. Default Value: text-box

Label System.String

The field’s label.

MaxLength System.Int32

Restricts the input length.

MinLength System.Int32

Restricts the input length.

Name System.String

The associated field name.

Required System.Boolean

Indicates whether the field is required.

Submittable System.Boolean

Indicates if the field’s value can be submitted without introducing data validation issues.

Updating System.Boolean

Indicates if the field is updating. This is applicable if the field has a value defined for FieldElement or @link esri/form/elements/FieldElement#editableExpression}. The property returns true whenever one or both of these expressions are processing.

Valid System.Boolean

Indicates if the input value is valid.

Value System.Object

The field input’s value.

Visible System.Boolean

Indicates if the field is visible.

Properties

FieldInput.DataType Property

The type of data displayed by the field input. Possible values are listed below.

public string DataType { get; set; }

Property Value

System.String

FieldInput.Domain Property

The type of data displayed by the field input. Possible values are listed below.

public dymaptic.GeoBlazor.Core.Components.Widgets.Domain Domain { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Widgets.Domain

FieldInput.Editable Property

Indicates if the field is editable.

public bool Editable { get; set; }

Property Value

System.Boolean

FieldInput.Error Property

If the input field’s value is invalid, this property returns a validation error code. Otherwise, it is null.

public string? Error { get; set; }

Property Value

System.String

FieldInput.Field Property

The associated field.

public dymaptic.GeoBlazor.Core.Components.Layers.Field Field { get; set; }

Property Value

dymaptic.GeoBlazor.Core.Components.Layers.Field

FieldInput.Group Property

The group containing the field input.

public dymaptic.GeoBlazor.Pro.Components.Widgets.GroupInput Group { get; set; }

Property Value

GroupInput

FieldInput.Hint Property

A hint for the field’s value. This is a temporary placeholder inputs in either TextAreaInput or TextBoxInput.

public string Hint { get; set; }

Property Value

System.String

FieldInput.IncludeDate Property

Indicates whether date information is included for date inputs. Default Value: true

public bool IncludeDate { get; set; }

Property Value

System.Boolean

FieldInput.IncludeTime Property

Indicates whether time information is included for date inputs. Default Value: true

public bool IncludeTime { get; set; }

Property Value

System.Boolean

FieldInput.IncludeTimestamp Property

Indicates whether timestamp information is included for date inputs. Default Value: false

public bool IncludeTimestamp { get; set; }

Property Value

System.Boolean

FieldInput.InputType Property

The type of editor used when working with string fields. Possible values: “text-box” “text-area”. Default Value: text-box
public string InputType { get; set; }

Property Value

System.String

FieldInput.Label Property

The field’s label.

public string Label { get; set; }

Property Value

System.String

FieldInput.MaxLength Property

Restricts the input length.

public int MaxLength { get; set; }

Property Value

System.Int32

FieldInput.MinLength Property

Restricts the input length.

public int MinLength { get; set; }

Property Value

System.Int32

FieldInput.Name Property

The associated field name.

public string Name { get; set; }

Property Value

System.String

FieldInput.Required Property

Indicates whether the field is required.

public bool Required { get; set; }

Property Value

System.Boolean

FieldInput.Submittable Property

Indicates if the field’s value can be submitted without introducing data validation issues.

public bool Submittable { get; set; }

Property Value

System.Boolean

FieldInput.Updating Property

Indicates if the field is updating. This is applicable if the field has a value defined for FieldElement or @link esri/form/elements/FieldElement#editableExpression}. The property returns true whenever one or both of these expressions are processing.

public bool Updating { get; set; }

Property Value

System.Boolean

FieldInput.Valid Property

Indicates if the input value is valid.

public bool Valid { get; set; }

Property Value

System.Boolean

FieldInput.Value Property

The field input’s value.

public object Value { get; set; }

Property Value

System.Object

FieldInput.Visible Property

Indicates if the field is visible.

public bool Visible { get; set; }

Property Value

System.Boolean