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

Max rows for Grid fields not being recognized #643

Closed
boomshiddang opened this Issue Apr 28, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@boomshiddang

boomshiddang commented Apr 28, 2016

Steps to reproduce

  1. Create Grid field
  2. Set a maximum number of rows in fieldtype YAML file
  3. Create more rows beyond the set maximum
  4. Feel confounded

Expected behavior

The "Add Row" button should be disabled when the max number of set rows has been reached. The user should ideally be notified as well that no additional rows can be created because the maximum has been met/satisfied.

Actual behavior

No visual or functional cues are sent to the user that maximum rows have been reached, and the user is still able to create additional rows.

Server configuration

Operating system: OS X 0.11.3

Web server: Apache

PHP version: 5.5.26

Statamic version: 2.0.2.

Updated from an older Statamic or fresh install: Fresh

List of installed addons: None.

Logs

Statamic error log (/local/storage/logs/statamic.log)

[2016-04-28 21:15:42] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to a member function disk() on a non-object' in /Users/moly/Sites/dva-html/statamic/core/Http/Controllers/GlideController.php:39
Stack trace:
#0 {main}  

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