I'm using Grails 3.3.11
for developing an application, as the views were automatically generated using fields plugin
, I was wondering how to add to the view a field not in the domain class , for example in the user registration view I want to add confirm password
field , I reviewed the plugin documentation but I can't find anything may help me.
Asked
Active
Viewed 38 times
0

SShehab
- 1,039
- 3
- 17
- 31
1 Answers
0
The view is not limited to only include properties on the domain class. You can render whatever you like the view, even if you are using scaffolding. You can generate the views and edit them to include whatever you like.

Jeff Scott Brown
- 26,804
- 2
- 30
- 47
-
There isn't really a tutorial because I think all you are talking about doing is putting an input field on a form. – Jeff Scott Brown May 05 '20 at 21:20