wip fix prop instance
This commit is contained in:
parent
b9911efc0d
commit
8308622901
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue