[BUGFIX] Respect argument 'required' for input and text fields
Merge pull request #290 from bjo3rnf/required

[BUGFIX] Respect argument 'required' for input and text fields