Skip to content

Pristine option does nothing #680

Closed
@dorinniscu

Description

@dorinniscu

I tried sf-options="{ pristine: {errors: false, success: false}}".

It comes in scope.options but the options are ignored. It still validates the input no matter if it is pristine or not.

I did a fix but I find it more like a workaround.

'has-error': form.disableErrorState !== true && hasError() && !ngModel.$pristine, 'has-success': form.disableSuccessState !== true && hasSuccess() && !ngModel.$pristine

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions