Skip to content

Commit 58443f0

Browse files
committed
fix(select): always update value and text
1 parent 8466d39 commit 58443f0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ionic/components/select/select.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,8 @@ export class Select {
231231

232232
set value(val: any) {
233233
// passed in value could be either an array, undefined or a string
234-
if (this._disabled) {
235-
this._values = (Array.isArray(val) ? val : isBlank(val) ? [] : [val]);
236-
this.updateOptions();
237-
}
234+
this._values = (Array.isArray(val) ? val : isBlank(val) ? [] : [val]);
235+
this.updateOptions();
238236
}
239237

240238
get text() {

0 commit comments

Comments
 (0)