Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Thanks so much for the great module. This issue is related to #1184326: Can't find the widget
Every time I try this module it's usually to improve the usability of an existing site that already has data in a list field. So sadly, I haven't gotten a chance to take it for a spin yet :(
It seems that if what this module allows you to do is select from list (or, add another item) then it should be a widget on the LIST type field. Text fields don't allow you to select from a list, so requiring people to add a text field in order to get this functionality is counterintuitive.
Comments
Comment #1
legolasboI've already played with the idea of support list fields, but I see a major problem with this.
Natively, Drupal doesn't allow text lists to be changed. This is something we can overcome, but enabling a way to change the configured options will make features show up as overridden. Any reverting of the feature would probably fail (best case) or result in the option being removed, which would result in more serious problems like data loss.
Comment #2
legolasboPostponing this since it requires additional research and adds noise to an already full issue queue. Anyone willing to pick this up is welcome to do so though.
Comment #3
jenlamptonI'm not sure what you mean by this. Is it that there is no
field_default_value_alter
hook, or similar? We might be able to do it just by altering the form, or maybe the particular element... I'll take a closer look and see.I'd be willing to take a stab at making this change, since I wanted to use this module yet again, and am again thwarted by my pre-existing list type fields.
Comment #4
legolasboThe D8 branch now support list type fields. Maybe you can take some inspiration from the solution in #2639746: Add widget for list type fields.
Comment #5
legolasboComment #6
daften CreditAttribution: daften at Dropsolid commentedClosing as outdated because no activity in a long time and Drupal 7 goes EOL soon. Feel free to re-open if needed.