Skip to content

Commit

Permalink
text area def
Browse files Browse the repository at this point in the history
  • Loading branch information
jogibear9988 committed Oct 30, 2024
1 parent 6c06900 commit 12f42da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PropertyGrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
ctl.value = pInfo.defaultValue;
} else if (pInfo.defaultValue != null && ctl instanceof HTMLSelectElement && ctl.value == '' && !pInfo.nullable) {
ctl.value = pInfo.defaultValue;
} else if (pInfo.defaultValue != null && ctl instanceof HTMLTextAreaElement && ctl.value == '' && !pInfo.nullable) {
ctl.value = pInfo.defaultValue;
}
ctl.style.flexGrow = '1';
ctl.style.width = '100%';
Expand Down

0 comments on commit 12f42da

Please sign in to comment.