no callbacks support since 9c86f68a235c3e86b426c0037da6132e679fc385 (kohana-3.1 branch)
Closed this issue · 2 comments
wszostak commented
After update for Kohana 3.1 (commit 9c86f68), there are problems with callbacks.
For example 'unique' validator doesn't work because it is added to $field->callbacks[] = array($this, '_unique_field');, and no callbacks are executed in 'check()' method.
devi commented
Please take a look at this commit https://github.com/devi/sprig/commit/bf60ad631e03670fb9ca534983bb36f8263b4199
wszostak commented
Thanks for you reply. In meantime I've created something like this:
It also works, and there is no need to change code in other places...
But thank you for your help.