# Function handleStateChange

- handleStateChange(changes, onChange, opts): void

- #### Parameters

  - changes: UseComboboxStateChange<Organization>
  - onChange: Function
  - opts: {
    _searchOverlayEnabled?: boolean;
    openOrgSearchEnabled: boolean;
    }

    - ##### `Optional` _searchOverlayEnabled?: boolean

    - ##### openOrgSearchEnabled: boolean

  #### Returns void

  - Defined in jslib/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.ts:4