mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
STuff
This commit is contained in:
@@ -143,7 +143,8 @@ export class SegmentControlValueAccessor {
|
||||
// both this.value and setProperty are required at the moment
|
||||
// remove when a proper imperative API is provided
|
||||
this.value = !value ? '' : value;
|
||||
this.renderer.setElementProperty(this.elementRef.parentView.render, this.elementRef.boundElementIndex, 'value', this.value);
|
||||
|
||||
this.renderer.setElementProperty(this.elementRef, 'value', this.value);
|
||||
|
||||
this.segment.value = this.value;
|
||||
this.segment.selectFromValue(value);
|
||||
|
||||
Reference in New Issue
Block a user