New Features

You should get the default widget by attribute.getType()

For example, the default attribute for text, for integer, etc.