added missing packages
feature: widget's legend property defaults to property name when missing.
[fixed #1] missing validator attributes on the widget