Skip to content

Commit 831467a

Browse files
chore: remove withSearchHelpMessage
1 parent 574122e commit 831467a

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

i18n/en.pot

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ msgstr ""
55
"Content-Type: text/plain; charset=utf-8\n"
66
"Content-Transfer-Encoding: 8bit\n"
77
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
8-
"POT-Creation-Date: 2025-12-15T12:52:54.824Z\n"
9-
"PO-Revision-Date: 2025-12-15T12:52:54.824Z\n"
8+
"POT-Creation-Date: 2025-12-17T08:35:20.090Z\n"
9+
"PO-Revision-Date: 2025-12-17T08:35:20.091Z\n"
1010

1111
msgid "Choose one or more dates..."
1212
msgstr "Choose one or more dates..."
@@ -537,6 +537,9 @@ msgstr "Clear"
537537
msgid "No results"
538538
msgstr "No results"
539539

540+
msgid "LIKE todo delete"
541+
msgstr "LIKE todo delete"
542+
540543
msgid "Must match the start of the value"
541544
msgstr "Must match the start of the value"
542545

src/core_modules/capture-core/components/D2Form/field/Components/BooleanField/BooleanFieldForForm.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
withLabel,
1010
withDisplayMessages,
1111
withFilterProps,
12-
withSearchHelpMessage,
1312
} from '../../../../FormFields/New';
1413
import {
1514
withRequiredFieldCalculation,
@@ -36,9 +35,7 @@ export const BooleanFieldForForm = withGotoInterface()(
3635
`${props.fieldLabelMediaBasedClass} ${labelTypeClasses.booleanLabel}`,
3736
})(
3837
withFilterProps(getFilteredProps)(
39-
withDisplayMessages()(
40-
withSearchHelpMessage()(BooleanField),
41-
),
38+
withDisplayMessages()(BooleanField),
4239
),
4340
),
4441
),

src/core_modules/capture-core/components/D2Form/field/Components/TrueOnlyField/TrueOnlyFieldForForm.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
withLabel,
1010
withDisplayMessages,
1111
withFilterProps,
12-
withSearchHelpMessage,
1312
} from '../../../../FormFields/New';
1413
import {
1514
withRequiredFieldCalculation,
@@ -36,9 +35,7 @@ export const TrueOnlyFieldForForm = withGotoInterface()(
3635
`${props.fieldLabelMediaBasedClass} ${labelTypeClasses.trueOnlyLabel}`,
3736
})(
3837
withFilterProps(getFilteredProps)(
39-
withDisplayMessages()(
40-
withSearchHelpMessage()(TrueOnlyField),
41-
),
38+
withDisplayMessages()(TrueOnlyField),
4239
),
4340
),
4441
),

src/core_modules/capture-core/components/FormFields/New/HOC/messages/withSearchHelpMessage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import { searchOperators } from '../../../../../metaDataMemoryStoreBuilders';
66

77
const styles = (theme: any) => ({
88
help: {
9+
marginTop: 4,
910
marginLeft: 0,
1011
paddingLeft: 0,
11-
color: colors.grey700,
12+
color: colors.grey600,
1213
fontSize: theme.typography.pxToRem(14),
1314
},
1415
});

src/core_modules/capture-core/metaDataMemoryStoreBuilders/common/factory/searchGroup/searchOperator/forcedSearchOperators.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const forcedSearchOperators: Partial<Record<string, SearchOperator>> = {
1010
[dataElementTypes.INTEGER_RANGE]: searchOperators.RANGE,
1111
[dataElementTypes.INTEGER_POSITIVE]: searchOperators.RANGE,
1212
[dataElementTypes.INTEGER_POSITIVE_RANGE]: searchOperators.RANGE,
13+
[dataElementTypes.INTEGER_NEGATIVE]: searchOperators.RANGE,
1314
[dataElementTypes.INTEGER_NEGATIVE_RANGE]: searchOperators.RANGE,
1415
[dataElementTypes.INTEGER_ZERO_OR_POSITIVE]: searchOperators.RANGE,
1516
[dataElementTypes.INTEGER_ZERO_OR_POSITIVE_RANGE]: searchOperators.RANGE,

0 commit comments

Comments
 (0)