2 form components with same statePath, keyValue broken

Forms\Components\Section::make() ->schema([ Forms\Components\KeyValue::make('configKeyValue') ->statePath('config') ->visible(function ($get) { return !class_exists("\\App\\Data\\PSP\\" . $get('code')); }) ->reactive(), Forms\Components\Repeater::make('configData') ->reactive() ->statePath('config') ->visible(function ($get) { return class_exists("\\App\\Data\\PSP\\" . $get('code')); }) ]) ->columnSpan(2), Using that code, when I store using the KeyValue, it's saved data well in the db, but when I load the contents: Key: 1db3d6bd-75c7-428f-b890-2844bf411fd2 Value: Value (attached image) Repeater works well. Maybe a bug in Keyvalue? Thanks
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?