@action
    reset() {
        this.value = this.initialValue;

        // Force an immediate 'Unknown' state -- the async recompute leaves the old state in place until it completed.
        // (We want that for a value change, but not reset/init)  Force the recompute only if needed.
        this._errors.fill(null);
        wait().then(() => {
            if (!this.isValidationPending && this.validationState === ValidationState.Unknown) {
                this.computeValidationAsync();
            }
        });

        this.validationDisplayed = false;
    }
/** Reset to the initial value and reset validation state. */
Reset to the initial value and reset validation state.
Reset to the initial value and reset validation state .
@action
    reset() {
        this.value = this.initialValue;
        this._errors.fill(null);
        wait().then(() => {
            if (!this.isValidationPending && this.validationState === ValidationState.Unknown) {
                this.computeValidationAsync();
            }
        });
        this.validationDisplayed = false;
    }
@ action reset ( ) { this . value = this . initialValue ; this . _errors . fill ( null ) ; wait ( ) . then ( ( ) => { if ( ! this . isValidationPending && this . validationState === ValidationState . Unknown ) { this . computeValidationAsync ( ) ; } } ) ; this . validationDisplayed = false ; }
Reset to the initial value and reset validation state.
Reset to the initial value and reset validation state .
// Force an immediate 'Unknown' state -- the async recompute leaves the old state in place until it completed. // (We want that for a value change, but not reset/init)  Force the recompute only if needed.