Skip to content

Updating INPUT's "value" doesn't work if it has been edited #32

@alexsad

Description

@alexsad

Updating INPUT's "value" doesn't work if it has been edited by the user.

    <input type="text" value="{$this.mytext?$this.mytext:'nothing changed'}">

    <button 
                   onclick="{$this.mytext='default text';alert($this.mytext);$this.refresh()}">
                    test change
     </button>

I found the same problem in these issue:
google/incremental-dom#239

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