Skip to content

Commit 0ae33f8

Browse files
committed
Revert "Reapply "correct initial value set and remove private version""
This reverts commit 317cc5c.
1 parent 317cc5c commit 0ae33f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +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-
value: ValueType | DefaultValueType = defaultValue as unknown as DefaultValueType;
127+
value: ValueType | DefaultValueType;
128128

129129
// Validation
130130
//private _validityState = new UmbValidityState();
@@ -148,6 +148,7 @@ export function UmbFormControlMixin<
148148
}
149149
private _pristine: boolean = true;
150150

151+
#value: ValueType | DefaultValueType = defaultValue as unknown as DefaultValueType;
151152
protected _internals: ElementInternals;
152153
#form: HTMLFormElement | null = null;
153154
#validators: UmbFormControlValidatorConfig[] = [];

0 commit comments

Comments
 (0)