signalpoint / date

The DrupalGap Date module.
0 stars 6 forks source link

An illegal choice has been detected #28

Open mkinnan opened 8 years ago

mkinnan commented 8 years ago

Create node with date field. Save. Edit node and try to resave. Node cannot be saved at all unless user reselects every single date field value.

{"form_errors":{"field_event_date][und][0][value2][minute":"An illegal choice has been detected. Please contact the site administrator.","field_event_date][und][0][value2":"The value input for field <em class=\"placeholder\">Event Date End date</em> is invalid:<br />The day is missing.<br />The month is missing.<br />The year is missing.<br />The minute is missing."}}

mkinnan commented 8 years ago

This applies to Ripple Emulator, Android, and iOS.

ice423cube commented 8 years ago

The date seems to loose all of its values. Not sure why. I have looked into this many times. The date module is very complex and I am not able to figure it out. Any luck on your end?

mkinnan commented 8 years ago

@ice423cube ... see my modified date.js file in the pull request.

https://github.com/signalpoint/date/pull/29/files

Let me know if this works for you.