We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa625a commit 4a2b743Copy full SHA for 4a2b743
1 file changed
core/field_dropdown.ts
@@ -800,7 +800,9 @@ export class FieldDropdown extends Field<string> {
800
option[0] &&
801
typeof option[0] !== 'string' &&
802
!isImageProperties(option[0]) &&
803
- !(option[0] instanceof HTMLElement)
+ !(
804
+ typeof HTMLElement !== 'undefined' && option[0] instanceof HTMLElement
805
+ )
806
) {
807
foundError = true;
808
console.error(
0 commit comments