Moving these variables outside of the "input" function so they can be reused across fields.
add support for custom attributes to all widgets
Merge pull request #135 from mila-labs/custom-attributes

Add support for custom attributes to all widgets