datocms / product-roadmap

This project is now discontinued. For feature requests, please use our community forum.
https://community.datocms.com/
19 stars 1 forks source link

Default values for fields #11

Closed stefanoverna closed 6 years ago

stefanoverna commented 6 years ago

For some fields (ie. strings, booleans, numbers, etc.) having an option to setup a default value on creation would be awesome

stefanoverna commented 6 years ago

Yes, much needed!


Originally posted by webmaster@convincible.media

stefanoverna commented 6 years ago

Will it also be possible to set the field so that it can't be empty? i.e. it's either the Default or one of the other options, but not nothing.


Originally posted by webmaster@convincible.media

stefanoverna commented 6 years ago

Yes, as long as you add a "required" validation on the field!


Originally posted by support@datocms.com

stefanoverna commented 6 years ago

How will default values behave if fields which previously did not have a default value are now given a default value?


Originally posted by webmaster@convincible.media