@ni/spright-components 6.20.2 → 6.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99690,7 +99690,7 @@ focus outline in that case.
99690
99690
  */
99691
99691
  textAreaInputHandler() {
99692
99692
  this.value = this.textArea.value;
99693
- this.isInputEmpty = this.shouldDisableSendButton();
99693
+ this.isInputEmpty = this.textArea.value.length === 0;
99694
99694
  this.adjustTextAreaHeight();
99695
99695
  this.queueUpdateScrollbarWidth();
99696
99696
  }
@@ -99712,7 +99712,7 @@ focus outline in that case.
99712
99712
  valueChanged() {
99713
99713
  if (this.textArea) {
99714
99714
  this.textArea.value = this.value;
99715
- this.isInputEmpty = this.shouldDisableSendButton();
99715
+ this.isInputEmpty = this.textArea.value.length === 0;
99716
99716
  this.adjustTextAreaHeight();
99717
99717
  this.queueUpdateScrollbarWidth();
99718
99718
  }
@@ -99723,7 +99723,7 @@ focus outline in that case.
99723
99723
  connectedCallback() {
99724
99724
  super.connectedCallback();
99725
99725
  this.textArea.value = this.value;
99726
- this.isInputEmpty = this.shouldDisableSendButton();
99726
+ this.isInputEmpty = this.textArea.value.length === 0;
99727
99727
  this.adjustTextAreaHeight();
99728
99728
  this.resizeObserver = new ResizeObserver(() => this.onResize());
99729
99729
  this.resizeObserver.observe(this);