Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.rules("remove") does not return the removed rules. #1934

Closed
Lefthandmedia opened this issue Jan 31, 2017 · 1 comment
Closed

.rules("remove") does not return the removed rules. #1934

Lefthandmedia opened this issue Jan 31, 2017 · 1 comment
Labels
stale Used to mark stale issues

Comments

@Lefthandmedia
Copy link

Subject of the issue

rules("remove") does not return the removed rules

Your environment

version 1.16.0

Steps to reproduce

add a rule to an element -> $("#myelement" ).rules("add", {required: true});
remove these rules -> console.log($("#myelement" ).rules("remove")); // returns empty object

Expected behaviour

You'd expect $("#myelement" ).rules("remove") to return {required: true}

Actual behaviour

$("#myelement" ).rules("remove") returns empty object

@stale
Copy link

stale bot commented Jun 5, 2018

This issue/proposal has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up.
Thank you for contributing :)

@stale stale bot added the stale Used to mark stale issues label Jun 5, 2018
@stale stale bot closed this as completed Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Used to mark stale issues
Projects
None yet
Development

No branches or pull requests

1 participant