Form KeyValue component dehydrateStateUsing undots keys

I have a simple KeyValue field and am formatting it's state and returning a collection(also tried returning an array but get the same results) and when I submit the form the dehydrate receives the keys undotted. For example if the state I return from formatStateUsing looks like the following:
['website.url' => 'https://website.com']
['website.url' => 'https://website.com']
Modify the url on the UI. Then the dehydrateStateUsing will receive it as:
[
'website.url' => 'https://website.com'
'website' => ['url' => 'https://website123.com']
]
[
'website.url' => 'https://website.com'
'website' => ['url' => 'https://website123.com']
]
I also checked and the formatStateUsing returns the collection/array in the correct format.
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin