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

Set default value of zero to User submissionLimit #24

Open
rosselton opened this issue Jul 12, 2023 · 0 comments
Open

Set default value of zero to User submissionLimit #24

rosselton opened this issue Jul 12, 2023 · 0 comments

Comments

@rosselton
Copy link
Collaborator

Summary

The User content type has a field submission Limit, this should be set to zero as a default in Strapi. Currently this is 'null' on submission creation.

What needs to be done?

  • check to see if we can set a default value to the field
  • if not, make sure the value is set to one successfully on creation

The submission value is updated by one, after a successful submission, but this has not been tested on an initial null value, rather than an integer.

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

No branches or pull requests

1 participant