Google-Maps-for-Craft
Google-Maps-for-Craft copied to clipboard
Default Button Setting not saving in a specific case
http://screencast.com/t/dq98YdVCt
When I uncheck the "ALL" option to deselect all options for Default Buttons and then click SAVE, the setting isn't saved correctly. All options are still checked when I go back to settings page.
I am not getting this error. When I uncheck all and save, all the options are unchecked as they should be. So I am not sure how to do duplicate this error. Is the field within a matrix or anything special?
I'm seeing this in FireFox 32.
Here's a quick video showing behavior: http://screencast.com/t/hKLELSee0Pm
This is a bug in Craft I think. I am just reusing their code to build the settings page. It works for Chrome, but apparently not for Firefox. Here is my code in my field type settings. You can see, it's just referencing the global Craft macro they use. Does this happen on any other Craft field?
{{ forms.checkboxSelectField({
label: "Default Buttons"|t,
instructions: "Which buttons should be shown on the map?"|t,
id: 'displayButtons',
name: 'displayButtons',
options: craft.config.get('availableMapButtons', 'googlemaps'),
values: settings.displayButtons
}) }}
Actually, now I am seeing this bug in Chrome. Super weird. I'll take a look at getting this fixed.
I'm having this issue right now. Each time I go back to edit my field type, I have to make sure to uncheck everything again before saving.