I’m using Grails scaffolding and would like to make a change in the default date during a create. Currently dates default to today’s date. How would one default it to blank or no date?
Thanks,
Steve
I’m using Grails scaffolding and would like to make a change in the default
Share
You can do
grails install-templatesand customize template, used for rendering.In
$PROJECT/src/templates/scaffolding/renderEditor.templatethere is methodrenderDateEditorwhich should be customized to your needs.This customization will be applied to all new scaffolding operations.