You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: clear up confusion with overriding the setter
This solves some behavior to clear up confusion between `super.value` and `this.value` by simply removing the references to getter/setter since they are inherited anyway
Copy file name to clipboardExpand all lines: packages/uui-select/lib/uui-select.element.ts
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -133,21 +133,6 @@ export class UUISelectElement extends FormControlMixin(LitElement) {
133
133
@property({type: Boolean,reflect: true})
134
134
error=false;
135
135
136
-
/**
137
-
* This is a value property of the uui-checkbox or the uui-toggle component. The default value of this property is 'on'. It reflects the behaviour of the native input type="checkbox" element and its value attribute.
138
-
* @type {string}
139
-
* @attr
140
-
* @default on
141
-
*/
142
-
@property({type: String})
143
-
getvalue(){
144
-
returnthis._value;
145
-
}
146
-
147
-
setvalue(newVal){
148
-
this.value=newVal;
149
-
}
150
-
151
136
/**
152
137
* An array of options to be rendered by the element. If you want the element The option interface has up to 5 properties:
0 commit comments