Merge remote-tracking branch 'origin/main' into chore/sync-with-main

This commit is contained in:
Sean Perkins
2022-07-01 10:49:14 -04:00
369 changed files with 749 additions and 597 deletions

View File

@ -208,7 +208,15 @@ export class PickerColumnInternal implements ComponentInterface {
}
}
private setValue(value?: string | number) {
/**
* Sets the value prop and fires the ionChange event.
* This is used when we need to fire ionChange from
* user-generated events that cannot be caught with normal
* input/change event listeners.
* @internal
*/
@Method()
async setValue(value?: string | number) {
const { items } = this;
this.value = value;
const findItem = items.find((item) => item.value === value && item.disabled !== true);