wip fix prop instance

This commit is contained in:
Rizky 2024-03-17 12:02:18 +07:00
parent b9911efc0d
commit 8308622901
1 changed files with 4 additions and 3 deletions

View File

@ -218,13 +218,14 @@ export const EdSidePropInstance: FC<{ meta: IMeta }> = ({ meta }) => {
) {
hasCode = true;
}
if (type === "file" && !!value && !value.startsWith("siteurl("))
hasCode = true;
if (value.length > 100) {
hasCode = true;
}
if (type === "file") {
if (!!value && !value.startsWith("siteurl(")) hasCode = true;
else hasCode = false
}
const labelClick = (e: MouseEvent<HTMLDivElement>) => {
e.preventDefault();