diff --git a/src/Multiselect.jsx b/src/Multiselect.jsx index 09841778a..14276696e 100644 --- a/src/Multiselect.jsx +++ b/src/Multiselect.jsx @@ -14,7 +14,7 @@ import { widgetEditable, widgetEnabled } from './util/interaction'; import { instanceId, notify, isFirstFocusedRender } from './util/widgetHelpers'; var compatCreate = (props, msgs) => typeof msgs.createNew === 'function' - ? msgs.createNew(props) : [{`"${props.searchTerm}"`}, ' ' + msgs.createNew] + ? msgs.createNew(props) : [{`"${props.searchTerm}"`}, ' ' + msgs.createNew] let { omit, pick, splat } = _;