We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d1fb2 commit e0cdd3bCopy full SHA for e0cdd3b
src/composables/useInputEditor.ts
@@ -58,7 +58,7 @@ export function useInputEditor() {
58
// cleanup empty values
59
for (const key in result) {
60
const value = result[key]
61
- if ((typeof value === 'string' || value instanceof String)) {
+ if ((typeof value === 'string' || typeof value === 'string')) {
62
if (value.trim().length === 0)
63
result[key] = undefined
64
}
0 commit comments