Merged in release/2025-12-19 (pull request #2735)

feature/IO-3402-Import-Add-Notifiers - Fix Normalize
This commit is contained in:
Dave Richer
2025-12-19 19:12:29 +00:00

View File

@@ -16,6 +16,7 @@ export default function ShopInfoNotificationsAutoadd({ bodyshop }) {
<Text type="secondary">{t("bodyshop.labels.notifications.followers")}</Text>
{employeeOptions.length > 0 ? (
<Form.Item
normalize={(value) => (value || []).filter((id) => typeof id === "string" && id.trim() !== "")}
name="notification_followers"
rules={[
{
@@ -39,7 +40,6 @@ export default function ShopInfoNotificationsAutoadd({ bodyshop }) {
<EmployeeSearchSelectComponent
style={{ minWidth: "100%" }}
mode="multiple"
normalize={(value) => (value || []).filter((id) => typeof id === "string" && id.trim() !== "")}
options={employeeOptions}
placeholder={t("bodyshop.fields.notifications.placeholder")}
showEmail={true}