Added onchange event triggering for TextField and TextArea widgets.