allow required field in widget attributes
Merge branch 'v3.2' of github.com:phpwax/phpwax into v3.2