Skip to content

Commit 36a700b

Browse files
committed
trim value
1 parent 4479d74 commit 36a700b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/Search/FilterComponents/ReportField

src/components/Search/FilterComponents/ReportField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function ReportFieldBase({ref, values: initialValues = {}, selectedField, onFiel
187187

188188
const getValue = (fieldName: string) => {
189189
const filterKey = getFilterKey(fieldName);
190-
return values[filterKey] ?? '';
190+
return values[filterKey]?.trim() ?? '';
191191
};
192192

193193
const getDateValue = (fieldName: string) => {

0 commit comments

Comments
 (0)