You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use your bundle in my project with SonataAdminBundle. I create Admin class to populate a schema with definition and options. All it's ok but when i try to use a definition with multiple options an error occured on database persist.
In fact the system try to register an array in string value.
In AttributeSubscriber class the createValueField method transform checkbox definition in choice definition with multiple and expanded options to true. All it's ok to display the field but not to persist the data.
Maybe i will try to serialize the data before persist and deserialize in pre set data ?
if you want my admin code and my template, it's with pleasure.
Excuse me for my english but it's very poor.
The text was updated successfully, but these errors were encountered:
I'm not quite ready to merge it yet, because of the varchar(255) type of the value field. This could run out on occasion. Upgrading it to text would result in performance loss.
You can use that branch if you want before I merge it :)
Hi,
I use your bundle in my project with SonataAdminBundle. I create Admin class to populate a schema with definition and options. All it's ok but when i try to use a definition with multiple options an error occured on database persist.
In fact the system try to register an array in string value.
In AttributeSubscriber class the createValueField method transform checkbox definition in choice definition with multiple and expanded options to true. All it's ok to display the field but not to persist the data.
Maybe i will try to serialize the data before persist and deserialize in pre set data ?
if you want my admin code and my template, it's with pleasure.
Excuse me for my english but it's very poor.
The text was updated successfully, but these errors were encountered: