mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Merge remote-tracking branch 'origin/main' into chore/sync-with-main
This commit is contained in:
@ -347,7 +347,7 @@ export class PickerInternal implements ComponentInterface {
|
||||
*/
|
||||
const findItemFromCompleteValue = values.find(({ text }) => text.replace(/^0+/, '') === inputEl.value);
|
||||
if (findItemFromCompleteValue) {
|
||||
inputModeColumn.value = findItemFromCompleteValue.value;
|
||||
inputModeColumn.setValue(findItemFromCompleteValue.value);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -377,7 +377,7 @@ export class PickerInternal implements ComponentInterface {
|
||||
const item = colEl.items.find(({ text, disabled }) => disabled !== true && text.replace(behavior, '') === value);
|
||||
|
||||
if (item) {
|
||||
colEl.value = item.value;
|
||||
colEl.setValue(item.value);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user