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 6c06900 commit 12f42daCopy full SHA for 12f42da
src/PropertyGrid.ts
@@ -273,6 +273,8 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
273
ctl.value = pInfo.defaultValue;
274
} else if (pInfo.defaultValue != null && ctl instanceof HTMLSelectElement && ctl.value == '' && !pInfo.nullable) {
275
276
+ } else if (pInfo.defaultValue != null && ctl instanceof HTMLTextAreaElement && ctl.value == '' && !pInfo.nullable) {
277
+ ctl.value = pInfo.defaultValue;
278
}
279
ctl.style.flexGrow = '1';
280
ctl.style.width = '100%';
0 commit comments