Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$setViewValue revalidate parameter #8481

Closed
@dimirc

Description

@dimirc

I see that $setViewValue has a third parameter (revalidate) that I'm setting to true to force $parsers to run and recreate $modelValue

this.$setViewValue = function(value, trigger, revalidate) {
https://github.com/angular/angular.js/blob/master/src/ng/directive/input.js#L1928

At the docs I don't see this third parameter documented, is it save to use it?

I'm using it on this PR angular-ui/ui-select#138

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