[override virtual noexcept]
FieldFormElement::~FieldFormElement()
Destructor.
Esri::ArcGISRuntime::Domain FieldFormElement::domain() constReturns the domain to apply to this field.
If defined, this takes precedence over domains defined for the field, type, or subtype.
[signal]
void FieldFormElement::editableChanged(bool isEditable)
Signal emitted when the editable state changes.
Returns the name of the field associated with this element in the FeatureTable::fields array.
Esri::ArcGISRuntime::FieldType FieldFormElement::fieldType() constReturns the field type of the field associated with this element in the FeatureTable::fields array.
QString FieldFormElement::formattedValue() constReturns the formatted value for the field specified by fieldName.
This property is updated when FeatureForm::evaluateExpressionsAsync is called unless isEditable is true
. Dates and times are returned in the local timezone. If a field is part of a CodedValueDomain, CodedValue::name is returned.
Returns placeholder text that can be applied to text or numeric inputs.
Esri::ArcGISRuntime::FormInput *FieldFormElement::input() constReturns the input user interface to use for the element.
If the client application does not understand the supplied input, the client application is responsible for defining the default user interface.
bool FieldFormElement::isEditable() constReturns true
if the element is editable. false
if the element is not editable.
This property can be modified by the editable expression, which can be set during Feature Form authoring.
bool FieldFormElement::isHasValueExpression() constReturns true
if the element has a value expression, false
otherwise.
Returns true
if the element is required. false
if the element is not required.
This property is always true
if the fieldName is the ArcGISFeatureTable::typeIdField or the field is non-nullable. Otherwise, it depends on the result of the required expression. Additionally, if isVisible is false
, the required expression is ignored and false
is returned.
[signal]
void FieldFormElement::requiredChanged(bool isRequired)
Signal emitted when the required state changes.
Updates the value of a field in the feature associated with the FieldFormElement.
This function expects you to pass at least the correct type of value for the field. After the value is updated, FeatureForm::evaluateExpressionsAsync should be called in order to update any dependent properties. After the value has been updated, the list of validation errors will be updated and the validationErrorsChanged event will be fired if the list of errors has changed.
QList<Esri::ArcGISRuntime::Error> FieldFormElement::validationErrors() constReturns an array of errors collected when the value is validated. An empty array indicates the element's value is valid.
The constraints depend on the type of input. For example a FieldFormElement with an input type of TextBoxFormInput may not be empty if the value of isRequired is true
. The errors returned can be any of the following error types:
See also FormInput and FeatureForm::validationErrors.
[signal]
void FieldFormElement::validationErrorsChanged(const QList<Esri::ArcGISRuntime::Error> &errors)
Signal emitted when the validation errors change.
Returns the attribute value for the field specified by fieldName.
If the field is part of a CodedValueDomain, the CodedValue::code is returned (unlike formattedValue, which returns the CodedValue::name).
[signal]
void FieldFormElement::valueChanged(const QVariant &value)
Signal emitted when the value changes.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4