Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved logic for Tables min/max rows Fixed #2864 #2871

Merged
merged 4 commits into from
May 14, 2018

Conversation

Radabaugh
Copy link

No description provided.

(this.settings.maxRows && this.rowCount >= this.settings.maxRows) ||
(this.settings.minRows && this.rowCount < this.settings.minRows)
) {
if (this.settings.maxRows && this.rowCount >= this.settings.maxRows) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s change this to

if (!this.canAddRow()) {

Tyler added 2 commits May 14, 2018 08:58
Changed the logic in updateAddRowButton() to be more readable, and moved changelog entry to the unreleased section.
@brandonkelly brandonkelly merged commit 4a568ba into develop May 14, 2018
@andris-sevcenko andris-sevcenko deleted the bugfix/minRows-behavior-2864 branch July 7, 2020 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants