Skip to content

Bind with another input element, another input element couldn't correct affect nz-toggle #33

@thewayiam

Description

@thewayiam

Is there any chance to make another input element bind with nz-toggle? or is there any function to set nz-toggle to true/false/null from javascript?
I've try to bind nz-toggle with another input element as below, when toggle with nz-toggle, the correct value will display on input element, but when type in input element, nz-toggle will always move to middle.

<input type="text" ng-model="myValue1">
<nz-toggle tri-toggle ng-model="myValue1"></nz-toggle>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions