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

Date Data Validation not working #26

Closed
aaldrich opened this issue Nov 6, 2019 · 3 comments · Fixed by #71
Closed

Date Data Validation not working #26

aaldrich opened this issue Nov 6, 2019 · 3 comments · Fixed by #71
Labels
needs triage This issue needs to be triaged – volunteers wanted! stale Will be closed soon if there are no updates.

Comments

@aaldrich
Copy link

aaldrich commented Nov 6, 2019

When using the sheet.add_data_validation method with a type of :date I get the following error:

ArgumentError: Invalid Data: date. data_validation_type must be one of [:custom, :data, :decimal, :list, :none, :textLength, :time, :whole].

@vortx
Copy link

vortx commented Nov 6, 2019

@aaldrich hi, send your piece of code

have you seen how validation is built?

#add_data_validation(cells, data_validation) ⇒ Object

Parameters:

cells (String) — The cells the validation will apply to.
data_validation (hash) — options defining the validation to apply.

https://github.com/randym/axlsx/blob/master/examples/data_validation.rb#L54

@noniq noniq added the needs triage This issue needs to be triaged – volunteers wanted! label Nov 11, 2019
@github-actions
Copy link

This issue has been automatically marked as stale because it has not been commented on for at least three months. It will be automatically closed in 7 days.
If you have any new information or updates please reply in order to keep the issue open.

@github-actions github-actions bot added the stale Will be closed soon if there are no updates. label Feb 10, 2020
@straydogstudio
Copy link
Contributor

Fixed and released in 3.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs to be triaged – volunteers wanted! stale Will be closed soon if there are no updates.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants