Merge branch 'master' into chore/fix-running-worker-from-ts

This commit is contained in:
Adria Navarro 2024-01-04 14:03:38 +01:00 committed by GitHub
commit 91debc5d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,11 @@
}) })
const onChange = value => { const onChange = value => {
if (type === "link" && value && hasValidLinks(value)) { if (
(type === "link" || type === "bb_reference") &&
value &&
hasValidLinks(value)
) {
currentVal = value.split(",") currentVal = value.split(",")
} else if (type === "array" && value && hasValidOptions(value)) { } else if (type === "array" && value && hasValidOptions(value)) {
currentVal = value.split(",") currentVal = value.split(",")
@ -95,6 +99,7 @@
date: isValidDate, date: isValidDate,
datetime: isValidDate, datetime: isValidDate,
link: hasValidLinks, link: hasValidLinks,
bb_reference: hasValidLinks,
array: hasValidOptions, array: hasValidOptions,
longform: value => !isJSBinding(value), longform: value => !isJSBinding(value),
json: value => !isJSBinding(value), json: value => !isJSBinding(value),