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

[FR] Add support for a field level maxLimit #21

Closed
rungta opened this issue May 4, 2020 · 3 comments
Closed

[FR] Add support for a field level maxLimit #21

rungta opened this issue May 4, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@rungta
Copy link

rungta commented May 4, 2020

It would be great to have support for controlling the maximum number of blocks permitted for a Matrix field regardless of block type. Craft lets us configure this number while creating a matrix field but sometimes different limits are appropriate for different contexts.

@mmikkel mmikkel added the enhancement New feature or request label Jun 3, 2020
@rungta
Copy link
Author

rungta commented Mar 4, 2022

@mmikkel Any chance of upvoting this feature request? 😬

A use case we run into often — we have a matrix field for capturing links with two block types. One with an entry field for internal links and one with a URL field for external links. We use this field in various contexts, and in most contexts the thing we want to restrict is the maximum number of blocks (regardless of type). For example, in a header global set it might be five; in the footer it might be two, in a banner context it might be one.

@mmikkel
Copy link
Member

mmikkel commented Mar 9, 2022

Hi @rungta, upvote registered :)

@pl-mnm
Copy link

pl-mnm commented Sep 2, 2022

This feature request gets my vote as well!

@mmikkel mmikkel closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants