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

Changing order of operations in _sanitize_field_value #113

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tmtrademark
Copy link

Locally, I made the datepicker field cloneable, but _sanitize_field_value chokes when strtotime() is fed an Array of values. Switching the order of sanitize_callback allows for customized sanitization of these values.

…tize callback can be executed before date conversion happens
@mjangda
Copy link
Member

mjangda commented Jul 25, 2014

Probably better to fix the strtotime conversion; have it handle an array input?

@tmtrademark
Copy link
Author

@mjangda Now handles array input

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

Successfully merging this pull request may close these issues.

2 participants