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

"1. Invalid data type for [parameter_name]" with typespec boolean(). #16

Open
skull-squadron opened this issue Oct 22, 2012 · 3 comments
Assignees
Milestone

Comments

@skull-squadron
Copy link

In the create view http://localhost:8001/admin/model/create/example, are there values the form which would be accepted as the boolean atoms?

The error message doesn't give the user enough information to resolve this on their own.

src/model/example.erl:

-module(example, [Id, Name, Description, Notes, Enabled::boolean()]).
-compile(export_all).
@evanmiller
Copy link
Contributor

This is a bug in the admin interface.

@skull-squadron
Copy link
Author

No worries... Chicago wasn't built in a day. ; )

@ghost ghost assigned zkessin Jan 6, 2014
@drlinux
Copy link

drlinux commented Jan 7, 2015

Same error appears also for the datetime() fields. Both of update and create actions.
screenshot from 2015-01-08 01 11 27

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

No branches or pull requests

4 participants