11import type { ComponentInterface , EventEmitter } from '@stencil/core' ;
2- import { Component , Element , Event , Host , Method , Prop , State , Watch , h , forceUpdate } from '@stencil/core' ;
2+ import { Component , Element , Event , Host , Method , Prop , State , Watch , forceUpdate , h } from '@stencil/core' ;
33import type { NotchController } from '@utils/forms' ;
44import { compareOptions , createNotchController , isOptionSelected } from '@utils/forms' ;
5- import { focusVisibleElement , renderHiddenInput , inheritAttributes } from '@utils/helpers' ;
65import type { Attributes } from '@utils/helpers' ;
7- import { actionSheetController , alertController , popoverController , modalController } from '@utils/overlays' ;
6+ import { focusVisibleElement , inheritAttributes , renderHiddenInput } from '@utils/helpers' ;
7+ import { actionSheetController , alertController , modalController , popoverController } from '@utils/overlays' ;
88import type { OverlaySelect } from '@utils/overlays-interface' ;
99import { isRTL } from '@utils/rtl' ;
1010import { createColorClasses , hostContext } from '@utils/theme' ;
@@ -17,15 +17,15 @@ import type {
1717 AlertOptions ,
1818 Color ,
1919 CssClassMap ,
20+ ModalOptions ,
2021 PopoverOptions ,
2122 StyleEventDetail ,
22- ModalOptions ,
2323} from '../../interface' ;
2424import type { ActionSheetButton } from '../action-sheet/action-sheet-interface' ;
2525import type { AlertInput } from '../alert/alert-interface' ;
2626import type { SelectPopoverOption } from '../select-popover/select-popover-interface' ;
2727
28- import type { SelectChangeEventDetail , SelectInterface , SelectCompareFn } from './select-interface' ;
28+ import type { SelectChangeEventDetail , SelectCompareFn , SelectInterface } from './select-interface' ;
2929
3030// TODO(FW-2832): types
3131
@@ -724,7 +724,7 @@ export class Select implements ComponentInterface {
724724 component : 'ion-select-modal' ,
725725 componentProps : {
726726 header : interfaceOptions . header ,
727- closeText : interfaceOptions . closeText ,
727+ cancelText : this . cancelText ,
728728 multiple,
729729 value,
730730 options : this . createOverlaySelectOptions ( this . childOpts , value ) ,
0 commit comments