Skip to content

Commit 2365906

Browse files
committed
no need to run validators when we already do so on update
1 parent ae540f6 commit 2365906

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Umbraco.Web.UI.Client/src/packages/core/validation/mixins/form-control.mixin.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ export function UmbFormControlMixin<
124124
* @default
125125
*/
126126
@property({ reflect: false }) // Do not 'reflect' as the attribute value is used as fallback. [NL]
127-
get value(): ValueType | DefaultValueType {
128-
return this.#value;
129-
}
130-
set value(newValue: ValueType | DefaultValueType) {
131-
this.#value = newValue;
132-
this._runValidators();
133-
}
127+
value: ValueType | DefaultValueType;
134128

135129
// Validation
136130
//private _validityState = new UmbValidityState();

0 commit comments

Comments
 (0)