MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / getOptionValue

Function getOptionValue

core/src/components/select/select.tsx:1285–1288  ·  view source on GitHub ↗
(el: HTMLIonSelectOptionElement)

Source from the content-addressed store, hash-verified

1283}
1284
1285const getOptionValue = (el: HTMLIonSelectOptionElement) => {
1286 const value = el.value;
1287 return value === undefined ? el.textContent || '' : value;
1288};
1289
1290const parseValue = (value: any) => {
1291 if (value == null) {

Callers 4

createAlertInputsMethod · 0.85
textForValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected