Skip to content

Commit

Permalink
refactor: resilience
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Jul 30, 2024
1 parent 749d17b commit 57e4d2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class DbTextarea {
@Event() dbChange;

componentDidRender() {
this.valueSize = this.textareaElement.value.length;
this.valueSize = this.textareaElement?.value?.length || 0;
}

render() {
Expand Down

0 comments on commit 57e4d2f

Please sign in to comment.