using wrong class for widget when in readonly mode on some settings form fields