Refactored the widget usage with ActiveField.
updated composer for example apps

issue #439