Closed NicoRox closed 1 year ago
The namespace should not be in the handle. The namespace is only used to resolve the field.
Your entry data should end up like this:
[
- 'text-addon::text_component' => 'The value',
+ 'text_component' => 'The value',
...
]
Bug description
I created a addon containing fieldsets. for this example there is a single text field the handle:
text-addon::text_component
when I save a entry the data includes this value as follows:
In
Statamic\Fields\Fields addValues(array $values)
the value is extracted from the array usingArr::get
sinceArr::get
uses either.
or::
notation for targeting children the code looks for the value as if it should be passed as follows:How to reproduce
Create a statamic addon. Add a fieldset. Use this fieldset inside a blueprint Fill and save the entry
result: Entry is saved exept for the field from the addon
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response