( opts: HTMLIonSelectOptionElement[], value: any, compareWith?: string | SelectCompareFn | null )
| 1316 | }; |
| 1317 | |
| 1318 | const textForValue = ( |
| 1319 | opts: HTMLIonSelectOptionElement[], |
| 1320 | value: any, |
| 1321 | compareWith?: string | SelectCompareFn | null |
| 1322 | ): string | null => { |
| 1323 | const selectOpt = opts.find((opt) => { |
| 1324 | return compareOptions(value, getOptionValue(opt), compareWith); |
| 1325 | }); |
| 1326 | return selectOpt ? selectOpt.textContent : null; |
| 1327 | }; |
| 1328 | |
| 1329 | let selectIds = 0; |
| 1330 |
no test coverage detected