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
Default widget for colander.Date differs from what the documentation states #165
Comments
Check that the javascript you need is loaded. http://docs.pylonsproject.org/projects/deform/en/latest/api.html#deform.widget.DateInputWidget It requires http://jqueryui.com/demos/datepicker/ . See also http://docs.pylonsproject.org/projects/deform/en/latest/widget.html#widget-javascript |
I have already read this part of the documentation. The HTML markup is really rendered with |
Can you tell me if the widget at http://deformdemo.repoze.org/dateinput/ renders incorrectly for you? If so, what browser/version are you using? |
Fortunately, the HTML rendering does not seem to depend on the browser. I tested under:
and they all give the same result, which is the following:
Here, I can see the |
Yes, the HTML will be the same, I meant "does it look/work ok". |
Under Chromium, I see the date picker from the browser itself. They all look fine. However, concerning my specific problem, it occurs before starting to look at what is rendered by the browsers. Indeed, this is what is received by the browser (an input with |
It sounds like the DateTime widget is behaving as designed. I'm pretty sure I don't understand the actual problem. Can you describe it as if I am a five year old? |
In simple words, when I build a schema node like this:
it produces the same as I build the schema node like this:
Ok, writing that, I realize my mistake, I am not using Sorry |
I have a simple text input generated for a colander.Date field instead of the default deform.widget.DateInputWidget indicated in the documentation : http://docs.pylonsproject.org/projects/deform/en/latest/common_needs.html#changing-the-default-widget-associated-with-a-field
The text was updated successfully, but these errors were encountered: