Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

onBlur function should support a return value to allow for normal cancellation #14

Closed
twig opened this issue Apr 28, 2010 · 1 comment
Closed

Comments

@twig
Copy link

twig commented Apr 28, 2010

I've noticed that if I define an onBlur function, it will run that function but leave the form intact without "cancelling".

It would be nice if we were able to return "true" to maintain this "halt the cancellation" behaviour, but return false to keep the standard behavior (if no onBlur is defined)

This way, people can keep track of both "on cancel" and "on submit" events.

@NicolasCARPi
Copy link
Owner

Hello,

I have implemented this feature :) Thanks for the suggestion!

~Nico

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants