Skip to content

Commit

Permalink
[bulk-textarea] UIK-3162 recalculate rows after splitting already exi…
Browse files Browse the repository at this point in the history
…sts one
  • Loading branch information
ilyabrower committed Jan 14, 2025
1 parent 19abc26 commit 1a690a6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,10 @@ class InputField extends Component<InputFieldProps, {}, State, typeof InputField
this.validateRow(currentNode.previousSibling);
}

if (row.textContent?.trim() !== '') {
this.recalculateRowsCount();
}

setTimeout(() => {
this.recalculateErrors();
onEnterNextRow();
Expand Down

0 comments on commit 1a690a6

Please sign in to comment.