Skip to content

since #2772 change, I'm having issues with binding with trigger #2861

@ChrisPulman

Description

@ChrisPulman

It seems that since this change, I'm having issues with binding. For example:

  • I have a textbox that I'm binding to some view model property
  • When calling Bind(), I'm passing a trigger - in my case textBox.Events().LostKeyboardFocus()
  • Now since this commit, when I'm opening my view the textbox remains empty (e.g. there's no initial update from vm to vw)
  • When I give focus to the textbox and then move focus to the next control, the textbox is suddenly populated (since the trigger fires)

Has this scenario been tested? It's particularly weird since the trigger should indicate that something in the view has changed - it should not have any influence on the initial update from view model to view. Also see the review comment I added.

Originally posted by @ronaldvdv in #2772 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions