This commit is contained in:
Liam DeBeasi
2023-12-05 13:34:26 -05:00
parent cf3d028d69
commit d36d645865

View File

@@ -438,9 +438,7 @@ export class PickerColumn implements ComponentInterface {
get activeItem() {
const { value } = this;
const options = Array.from(
this.el.querySelectorAll<HTMLIonPickerColumnOptionElement>('ion-picker-column-option')
);
const options = Array.from(this.el.querySelectorAll<HTMLIonPickerColumnOptionElement>('ion-picker-column-option'));
return options.find((option) => {
/**
* If the whole picker column is disabled, the current value should appear active