Radio/Check buttons widgets don't work on node_edit
Ok so I'm new to drupalgap, and I have been on this issue the whole day, so not sure if its me or me :)
Here is my testing so far... I'm using hook_form_alter for node_edit, but really not doing much other than hidding some fields. I kept getting the following error everytime I submit the form (for both create and edit a node)..
An illegal choice has been detected. Please contact the site administrator.
I notice this happens only only on the fields of field type "List(text)" in drupal with the widget type "Check boxes/radio buttons". once I changed the widget type to "select list" everything worked. I had 4 fields of this type, 3 worked except one (in this one I had to also change the "number of values" to 1 for in the field setting. Once I did this I could create and save nodes.
from the response window I had the following:
{"form_errors":{"field_priority][und":"An illegal choice has been detected. Please contact the site administrator."}}
I'm guessing that these widget types are not expecting the language field...
Is this an issue or is it me? Thanks in advance for your help.
@mafiname This may be related to these long standing issues:
- https://www.drupal.org/node/2224803
- https://github.com/signalpoint/DrupalGap/issues/178
DG should properly handle und without issue.
@signalpoint Thanks! I will try out the patch.
@signalpoint Patch didn't work for me.. same problem.
Could you solve this problem?