Cms: [Feature Request] Set min and max rows for a table field

Created on 29 Jan 2018  ·  3Comments  ·  Source: craftcms/cms

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.

enhancement system administration

Most helpful comment

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

All 3 comments

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

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

Awesome!! Thanks guys :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timkelty picture timkelty  ·  3Comments

leigeber picture leigeber  ·  3Comments

bitboxfw picture bitboxfw  ·  3Comments

brandonkelly picture brandonkelly  ·  3Comments

darylknight picture darylknight  ·  3Comments