From 1beb6c174a0622126d704ecc2dd26a8d1b70460d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 5 Sep 2022 11:08:49 -0700 Subject: Handle limit commands --- modern/src/common/components/SelectField.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modern/src/common') diff --git a/modern/src/common/components/SelectField.js b/modern/src/common/components/SelectField.js index bbc661c2..2ee2f147 100644 --- a/modern/src/common/components/SelectField.js +++ b/modern/src/common/components/SelectField.js @@ -39,8 +39,9 @@ const SelectField = ({ value={value} onChange={onChange} > - {!multiple && emptyValue !== null - && {emptyTitle}} + {!multiple && emptyValue !== null && ( + {emptyTitle} + )} {items.map((item) => ( {titleGetter(item)} ))} -- cgit v1.2.3