-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Describe the bug
I encountered with issue after this changes.
When I set the empty value to matrix linkValue filed programmatically, the changes doesn't apply
Steps to reproduce
$element->setFieldValues([
'bulletpoints' => [
'new1' =>
'type' => 'bulletpointsBlock',
'fields' => [
'urlLinkBulletpoint' => [
'links' => [
'type' => 'verbb\\hyper\\links\\Url',
'handle' => 'default-verbb-hyper-links-url',
'newWindow' => false,
'linkValue' => '',
'linkText' => 'Link lable',
],
],
],
];
],
]);
Craft::$app->elements->saveElement($element);
Craft CMS version
5.6.11
Plugin version
2.2.4
Multi-site?
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels