fix: SMS notification types.

This commit is contained in:
a.bouhuolia
2021-11-11 17:20:53 +02:00
parent 2e34df5d63
commit 4c58e49169
7 changed files with 37 additions and 17 deletions

View File

@@ -16,7 +16,7 @@ export default function NotifyViaSMSFormFields({ notificationTypes }) {
return (
<NotifyViaSMSFormFieldsRoot>
<FastField name={'notification_key'}>
{({ form, meta: { error, touched } }) => (
{({ form, field: { value }, meta: { error, touched } }) => (
<FormGroup
label={<T id={'notify_via_sms.dialog.notification_type'} />}
className={classNames(CLASSES.FILL)}
@@ -26,7 +26,7 @@ export default function NotifyViaSMSFormFields({ notificationTypes }) {
<ListSelect
items={notificationTypes}
selectedItemProp={'key'}
selectedItem={'details'}
selectedItem={value}
textProp={'label'}
popoverProps={{ minimal: true }}
filterable={false}