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
Merge pull request #363 from cedriclombardot/fix-model-type

Fix parse of input forms with options required