By andrea.cavattoni on
i got the title's problem when i try to create a new field.
The problem is that i select a new field name, then the type and i'd like to select the widget, but i cant because the input select it's like locked. i mean i cant click on the widget select, and if i save i get:
Add fieldname field: you need to select a widget
any idea? i tryed to edit the field_ui_admin_inc, but i still having the same problem.
Thanks
Comments
It would help to mention the
It would help to mention the field type or is it for any field type?
Every field
The problem is that this happens for every field type, also the existent ones....
i tried changing themes and stuff, but it seems to be a problem outside themes and css (i thought was an z-index).
It's something in the core, cause i've also tryed to rebuild the site with a new db, but nothing has changed
Are you selecting the field
Are you selecting the field type first, it should enable the form element (widget).
If not I would suspect a javascript error.
Solved
I had to delete all the site and the db. Dont know wtf:(
Shoot
The same thing is happening to me.
It happened immediately after upgrading to Drupal 7.7
Didn't happen before that but now every field asks me to add a widget every time but the widget selector is locked. So we can't add any fields.
JQuery Update
For what it's worth I took jQuery Update off my site and everything went back to normal. Put it back on and my fields broke again.
That suggests there is a core
That suggests there is a core js change since the last release of jQuery Update that would need to be addressed.
Firebug workaround and patch.
This happened for me when I updated jQuery. Suspect it's something to do with the changes between .attr() and .prop().
I 'fix' it by using firebug to remove the 'disabled="disabled"' property from the select element.
And then it annoyed me too much. Here's a patch to core: modules/field_ui/field_ui.js
Rich
Chrome element panel work around
Similarly, I successfully used the Chrome elements panel to delete disable tag from the 'disabled="disabled"' property from the select element.
You're awesome!
This workaround worked for me! Many, many thanks.
Same Problem
I had this issue on a 7.0 install and had updated to 7.7 to try and fix it but that did not help. The issue is that the dropdown list never gets populated with widget choices. I disabled jquery_update and the problem has been solved. Not sure where to point the blame though.
~Cooper
Same probleme
In my point of view jquery update change the behavior of empty string. So here a patch
Thanks. This snippet saved the day.
Thanks. This snippet saved the day.
Great patch!
Wow! This should be submitted to Drupal Core!
Reported as bug
Bug report here:
http://drupal.org/node/1327440
Thanks!
This saved me hours of debugging!!!!
Solved it for me! Many
Solved it for me! Many thanks!
can't find Display type in Multiple field settings
beside this issue caused by jquery_update, I have to report another problem, caused by it (in my opinion)
For an image field within a view, when I choose Multiple field settings it doesn't unfold any menu for Display type: Unordered list | Ordered list | Simple separator - doesn't appear any option
I don't know how to solve it.
Many thanks for all you have contributed to the widget issue, so far
Revert jQuery Update
I found that by reverting jQuery Update back from v1.7 to the original v1.5 that I was then able to select widgets again.
/admin/config/development/jquery_update
Doesn't really do any good to have jQuery Update as a module or requirement for so many other modules if it breaks the site when jQuery is updated.
Solution for D6?
I have a drupal 6 site that is having the same problem - does anyone know how to fix for D6?
One solution...
Grep the entire site for .js files containing
.attr('disabled', disabled ? 'disabled' :. In my case, changing the following lines in /sites/all/modules/cck/content.js solved the problem (line ~75; at the very end of the file):From:
To:
Faced similar problem
I was able to resolve it by degrading my jquery version to 1.5
firebug helps
hi friends all i can not contribute more back to you all
but as to this problem
following advice above,
i use firebug and delete the disabled attribute
and leave it
and choose a type like auto complete or radio whatever
then submit
it works
nice
thanks all
https://www.drupal.org/project/image_captcha_indicator
https://www.drupal.org/project/ext_js
Here i found a "nice" FIX! (via configuration)
1) install or make sure that have jquery_update module (https://www.drupal.org/project/jquery_update)
2) enter to module configuration
2.1) Default jQuery Version -> select last version, on my case "1.10"
2.2) Alternate jQuery version for administrative pages -> select "Default (Provided by Drupal)"
done!
note: if not works, try to change the step 2.2 from higher to lower version