Hi,
I'm in trouble with option "changed" of standalone and radio button.
I have one field set with a default value : "portrait" when declared.
The radio button have 2 values : "portrait" and "landscape"
When I'm choosing the "landscape" value, editor send a POST and submit the changed well.
But if landscape was selected and i want to choose "portrait", field is set with "portrait"'s value, but POST wasn't send and value in data base not changed.
When i'm looking in the editor js file, in line 4439, there is this code :
...
field.multiSet( idSrc, val !== undefined ?
val :
field.def()
);
...
If i comment the ligne
field.multiSet( idSrc, val !== undefined ?
val :
field.def() );
Editor send POST and change value in data base well. But not if the ligne is uncomment.
Is there a bug with "def" value in "changed" mode ? Because it seems "def" value is setting when editor's edit is loading on the field, and a difference between the two value (default and new selected) is made and like value are same, that's not sending POST.
Or have I miss a thing with radio and changed mode from standalone when declare it ?
P.S : same problem with checkbox button.
Best regards