Type Alias QFieldValue

In order to apply a selection just one of text/number needs to be set, this must be associated with the correct isNumeric bool. In some scenarios both text and number may be set.

type QFieldValue = {
    isNumeric?: boolean;
    number?: Float64;
    text?: string;
}
Index

Properties

isNumeric?: boolean

IsNumeric tells whether the field value is text or number. Default value is equal to defaultIsNumeric property in QSelection.

number?: Float64
text?: string

String value of the field value.