auraphp/Aura.Filter

dev branch isNotBlank not working as expected

Closed this issue · 10 comments

My expectation is that isNotBlank would give me an error message if the passed in field was blank.

When I pass a field in that has a value, this validation returns an error.

current workaround is: is('strlenMin', 1)

Insufficient testing on my part. Working through it now.

All right, let's try this again. Newest push to 2.x branch has modified logic in ValidateSpec and SanitizeSpec, and better testing around isNotBlank(). Let me know if it works for you.

2.1 released. Hopefully things will be working fine. Can we close the issue ?

@designermonkey Take a look and let us know. Sorry for the hassle.

Sorry, will do on Monday as it's a client project.

At your convenience. :-)

@designermonkey How's it looking?

I can confirm it is working :D Sorry for the delay.

Not at all! Thanks for having reported it in the first place.