2

I want to add additional values to a list field, that stores already content.

In the field configuration i get of course:

There is data for this field in the database. The field settings can no longer be changed.

Is it acceptable to ignore this message, add my values via the textfield without touching the current ones and save the field?

4

Yes, that message is very unfortunate. Ignore it.

Adding options is perfectly fine. Removing unused options is fine too. If you try to remove options that are still used, it will prevent you from doing so.

  • "If you try to use options that are still used, it will prevent you from doing so." I think you mean "REMOVE options"? – Jonathan Jan 15 '16 at 17:57
0

I ran into a similar situation. In my particular case I wanted to redo a list field completely. My field was on a paragraph entity and I needed to truncate the tables in the database. I used the execute php page that is created when you install the Devel module (/devel/php). From there I ran the following two lines, one at a time.

$trunc = db_truncate('paragraph__field_list')->execute();
$trunc2 = db_truncate('paragraph_revision__field_list')->execute();

It's worth mentioning I did this on a dev environment first!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.