Skip to content

Commit 9918f4a

Browse files
committed
feat(select): allow HTML within options
1 parent 72b7b99 commit 9918f4a

File tree

10 files changed

+407
-1056
lines changed

10 files changed

+407
-1056
lines changed

core/api.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ ion-infinite-scroll-content,prop,theme,"ios" | "md" | "ionic",undefined,false,fa
949949

950950
ion-input,scoped
951951
ion-input,prop,autocapitalize,string,'off',false,false
952-
ion-input,prop,autocomplete,"additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "name" | "new-password" | "nickname" | "off" | "on" | "one-time-code" | "organization" | "organization-title" | "photo" | "postal-code" | "sex" | "street-address" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username",'off',false,false
952+
ion-input,prop,autocomplete,"name" | "url" | "off" | "on" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username" | "email" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "nickname" | "organization-title" | "cc-additional-name" | "language" | "bday" | "sex" | "impp" | "photo",'off',false,false
953953
ion-input,prop,autocorrect,"off" | "on",'off',false,false
954954
ion-input,prop,autofocus,boolean,false,false,false
955955
ion-input,prop,clearInput,boolean,false,false,false
@@ -1631,7 +1631,7 @@ ion-nav,prop,animated,boolean,true,false,false
16311631
ion-nav,prop,animation,((baseEl: any, opts?: any) => Animation) | undefined,undefined,false,false
16321632
ion-nav,prop,mode,"ios" | "md",undefined,false,false
16331633
ion-nav,prop,root,Function | HTMLElement | ViewController | null | string | undefined,undefined,false,false
1634-
ion-nav,prop,rootParams,T | undefined,undefined,false,false
1634+
ion-nav,prop,rootParams,undefined | { [key: string]: any; },undefined,false,false
16351635
ion-nav,prop,swipeGesture,boolean | undefined,undefined,false,false
16361636
ion-nav,prop,theme,"ios" | "md" | "ionic",undefined,false,false
16371637
ion-nav,method,canGoBack,canGoBack(view?: ViewController) => Promise<boolean>
@@ -1653,7 +1653,7 @@ ion-nav,event,ionNavWillChange,void,false
16531653

16541654
ion-nav-link,none
16551655
ion-nav-link,prop,component,Function | HTMLElement | ViewController | null | string | undefined,undefined,false,false
1656-
ion-nav-link,prop,componentProps,T | undefined,undefined,false,false
1656+
ion-nav-link,prop,componentProps,undefined | { [key: string]: any; },undefined,false,false
16571657
ion-nav-link,prop,mode,"ios" | "md",undefined,false,false
16581658
ion-nav-link,prop,routerAnimation,((baseEl: any, opts?: any) => Animation) | undefined,undefined,false,false
16591659
ion-nav-link,prop,routerDirection,"back" | "forward" | "root",'forward',false,false
@@ -1758,7 +1758,7 @@ ion-popover,prop,animated,boolean,true,false,false
17581758
ion-popover,prop,arrow,boolean,true,false,false
17591759
ion-popover,prop,backdropDismiss,boolean,true,false,false
17601760
ion-popover,prop,component,Function | HTMLElement | null | string | undefined,undefined,false,false
1761-
ion-popover,prop,componentProps,T | undefined,undefined,false,false
1761+
ion-popover,prop,componentProps,undefined | { [key: string]: any; },undefined,false,false
17621762
ion-popover,prop,dismissOnSelect,boolean,false,false,false
17631763
ion-popover,prop,enterAnimation,((baseEl: any, opts?: any) => Animation) | undefined,undefined,false,false
17641764
ion-popover,prop,event,any,undefined,false,false
@@ -2066,7 +2066,7 @@ ion-row,css-prop,--ion-grid-gap
20662066
ion-searchbar,scoped
20672067
ion-searchbar,prop,animated,boolean,false,false,false
20682068
ion-searchbar,prop,autocapitalize,string,'off',false,false
2069-
ion-searchbar,prop,autocomplete,"additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "name" | "new-password" | "nickname" | "off" | "on" | "one-time-code" | "organization" | "organization-title" | "photo" | "postal-code" | "sex" | "street-address" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username",'off',false,false
2069+
ion-searchbar,prop,autocomplete,"name" | "url" | "off" | "on" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username" | "email" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "nickname" | "organization-title" | "cc-additional-name" | "language" | "bday" | "sex" | "impp" | "photo",'off',false,false
20702070
ion-searchbar,prop,autocorrect,"off" | "on",'off',false,false
20712071
ion-searchbar,prop,cancelButtonIcon,string | undefined,undefined,false,false
20722072
ion-searchbar,prop,cancelButtonText,string,'Cancel',false,false
@@ -2345,6 +2345,7 @@ ion-select-modal,prop,multiple,boolean | undefined,undefined,false,false
23452345
ion-select-modal,prop,options,SelectModalOption[],[],false,false
23462346

23472347
ion-select-option,shadow
2348+
ion-select-option,prop,description,string | undefined,undefined,false,false
23482349
ion-select-option,prop,disabled,boolean,false,false,false
23492350
ion-select-option,prop,mode,"ios" | "md",undefined,false,false
23502351
ion-select-option,prop,theme,"ios" | "md" | "ionic",undefined,false,false

0 commit comments

Comments
 (0)