When the correct answer is too long, the database save fail:
Drupal\Core\Entity\EntityStorageException: SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type character varying(255): INSERT INTO "opigno_answer__field_correct_response" ("entity_id", "revision_id", "bundle", "delta", "langcode", "field_correct_response_value") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 815 of /var/www/html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Save a long serie of correct responses with long strings.
increase the field capacity
Active
3.1
Code