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

[4.x]: Table - Hide delete row button when min rows = max rows + default #11211

Closed
leevigraham opened this issue May 12, 2022 · 2 comments
Closed

Comments

@leevigraham
Copy link
Contributor

leevigraham commented May 12, 2022

What happened?

Description

I created a table for some settings for a site alert. The table has minRows = 1, maxRows = 1 with a default row.

In this case the delete button should not be shown because the current number of rows = minRows

Entry Field:

Screen Shot 2022-05-12 at 11 29 11 am

Field Config:

image

Craft CMS version

4.0.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

This was a v4 regression. Fixed for the next release!

@brandonkelly
Copy link
Member

Craft 4.0.3 is out now with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants