Fix parse of input forms with options required

When form like model type was parsed this pass the required 'class' option to enable the build of the class