|
|
|
@ -22,8 +22,13 @@ interface FilterElementRow : RowRepresentable { |
|
|
|
} |
|
|
|
} |
|
|
|
is QueryCondition.ListOfValues<*> -> { |
|
|
|
is QueryCondition.ListOfValues<*> -> { |
|
|
|
val valueAsString: String? by map |
|
|
|
val valueAsString: String? by map |
|
|
|
|
|
|
|
val hint = when (this.operator) { |
|
|
|
|
|
|
|
QueryCondition.Operator.MORE, QueryCondition.Operator.LESS -> this.filterSectionRow.resId |
|
|
|
|
|
|
|
else -> this.resId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
arrayListOf( |
|
|
|
arrayListOf( |
|
|
|
RowRepresentableEditDescriptor(valueAsString, this.resId, inputType = InputType.TYPE_CLASS_NUMBER) |
|
|
|
RowRepresentableEditDescriptor(valueAsString, hint, inputType = InputType.TYPE_CLASS_NUMBER) |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
else -> super.editingDescriptors(map) |
|
|
|
else -> super.editingDescriptors(map) |
|
|
|
|