Skip to content

#3889 Add a 'blur' event to text input fields#3896

Merged
hshristov merged 2 commits intoNativeScript:masterfrom
EddyVerbruggen:eddyverbruggen/issue-3889-blur-event
Apr 20, 2017
Merged

#3889 Add a 'blur' event to text input fields#3896
hshristov merged 2 commits intoNativeScript:masterfrom
EddyVerbruggen:eddyverbruggen/issue-3889-blur-event

Conversation

@EddyVerbruggen
Copy link
Copy Markdown
Contributor

Implements #3889

@EddyVerbruggen
Copy link
Copy Markdown
Contributor Author

Locally tested with a {N} 3.0 non-Angular starter app with this added to the XML:

        <TextField text="blurrable textfield" blur="{{ onBlur }}"/>
        <TextField text="non-blurrable textfield"/>

And this added to main-view-model.js:

    viewModel.onBlur = function() {
        console.log("Blurred!");
        this.set("message", "Blurred @ " + new Date().getTime());
    }

@hshristov
Copy link
Copy Markdown
Contributor

run ci

@hshristov hshristov merged commit 9437f49 into NativeScript:master Apr 20, 2017
@EddyVerbruggen EddyVerbruggen deleted the eddyverbruggen/issue-3889-blur-event branch April 20, 2017 15:04
@lock
Copy link
Copy Markdown

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants