Fixing errors comes due to class attribute changes in JFormFieldText.