Hi, i am bug.
If i set in field max choices = 1 then have after save node with this widget next error:
Error: Cannot create references to/from string offsets nor overloaded objects in Drupal\Component\Utility\NestedArray::setValue() (line 155 of /var/www/html/core/lib/Drupal/Component/Utility/NestedArray.php)
I am use Drupal 8.2.5

Please fixed this bug. Thanks :)

Comments

ruslan_03492 created an issue. See original summary.

alex_optim’s picture

Status: Needs work » Active
duaelfr’s picture

Title: If set radio i have error » Widget with cardinality = 1 display radio buttons but fails saving their value
Version: 8.x-1.0-alpha2 » 8.x-1.x-dev

Same issue in the last dev version.
I'm on it!

duaelfr’s picture

Status: Active » Needs review
StatusFileSize
new907 bytes

It was quite a hunt for such a small fix but I did it!

duaelfr’s picture

StatusFileSize
new540 bytes
new908 bytes

I just had forgotten the cardinality unlimited case. Fixed!

jjancel’s picture

with correction # 5 the installation no longer works!
First install the normal version, then apply the patch
we will soon have a complete correction?