Skip to content
New issue

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

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

Already on GitHub? # to your account

[Feature Request] Set min and max rows for a table field #2372

Closed
richhayler opened this issue Jan 29, 2018 · 3 comments
Closed

[Feature Request] Set min and max rows for a table field #2372

richhayler opened this issue Jan 29, 2018 · 3 comments
Assignees
Labels
enhancement improvements to existing features system administration 💼 features related to system administration

Comments

@richhayler
Copy link

richhayler commented Jan 29, 2018

Description

Synonymous to the new matrix field min and max options in CraftCMS 3 RC7.1, and for much the same reasons, it would be great to have similar options for setting the min and max number of rows for a table field.

If the min and max number are the same then do not display the “add a row” button.

Additionally if one could be able to change the default “add a row” button label to be a custom one that may be more contextual to the content this would also be a big plus.

@richhayler richhayler changed the title Feature Request: Set min and max rows for a table field [Feature Request] Set min and max rows for a table field Jan 29, 2018
@brandonkelly brandonkelly added the enhancement improvements to existing features label Jan 30, 2018
@davidhellmann
Copy link
Contributor

Good point. And also when min == max it's directly visible.

@brandonkelly brandonkelly added the system administration 💼 features related to system administration label Feb 25, 2018
brandonkelly added a commit that referenced this issue Mar 28, 2018
@brandonkelly
Copy link
Member

We just added these settings to Table fields in 3.0.0-RC17.

@richhayler
Copy link
Author

Awesome!! Thanks guys :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement improvements to existing features system administration 💼 features related to system administration
Projects
None yet
Development

No branches or pull requests

5 participants