Skip to content

Commit 9de8dce

Browse files
committed
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
1 parent a18f2ad commit 9de8dce

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/uui-select/lib/uui-select.element.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,6 @@ export class UUISelectElement extends FormControlMixin(LitElement) {
133133
@property({ type: Boolean, reflect: true })
134134
error = false;
135135

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-
get value() {
144-
return this._value;
145-
}
146-
147-
set value(newVal) {
148-
this.value = newVal;
149-
}
150-
151136
/**
152137
* An array of options to be rendered by the element. If you want the element The option interface has up to 5 properties:
153138
* `interface Option {

0 commit comments

Comments
 (0)