add a field in using fields Grails plugin

44 Views Asked by At

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.

1

There are 1 best solutions below

1
Jeff Scott Brown On

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.