supported field types are listed here */ public string $fieldKey; /** * @a-type select * @ui 1 * @required 1 * @label Comparison * @instructions Controls how field value will be compared * @choices {"=":"Equal","!=": "Not Equal",">":"Bigger",">=":"Bigger or Equal","<":"Less","<=":"Less or Equal","LIKE":"Contains","NOT LIKE":"Not Contains","EXISTS":"Exists","NOT EXISTS":"Not Exists"} * @default_value = */ public string $comparison; // not required, as it's user should be able to select != '' /** * @label Value * @instructions Value that will be compared. Can be empty, in case you want to compare with empty string * @conditional_logic [[{"field": "local_acf_views_meta-field__comparison","operator": "!=","value": "EXISTS"},{"field": "local_acf_views_meta-field__comparison","operator": "!=","value": "NOT EXISTS"}]] */ public string $value; public function getAcfFieldId(): string { return Field::getAcfFieldIdByKey($this->fieldKey); } }