Skip to content

Commit 12f42da

Browse files
committed
text area def
1 parent 6c06900 commit 12f42da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PropertyGrid.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
273273
ctl.value = pInfo.defaultValue;
274274
} else if (pInfo.defaultValue != null && ctl instanceof HTMLSelectElement && ctl.value == '' && !pInfo.nullable) {
275275
ctl.value = pInfo.defaultValue;
276+
} else if (pInfo.defaultValue != null && ctl instanceof HTMLTextAreaElement && ctl.value == '' && !pInfo.nullable) {
277+
ctl.value = pInfo.defaultValue;
276278
}
277279
ctl.style.flexGrow = '1';
278280
ctl.style.width = '100%';

0 commit comments

Comments
 (0)