fix passing attributes to widget in FormInputElement
Merge pull request #773 from jiminy/fix/widget-attrs

fix passing attributes to widget in FormInputElement