Added focusType to onChange