Color field empty after unchecking transparent option
Redux: v.3.2.9.15 (Latest) WordPress: 3.9 dev_mode: true
array(
'id' => 'header_color',
'type' => 'color',
'title' => __('Header Color', 'redux-framework-demo'),
'subtitle' => __('Select the header color of your website.', 'redux-framework-demo'),
'default' => '#FFFFFF',
'validate' => 'color',
),
When a user has the transparent checkbox selected in the color field, then deselects it, the color field input box stays empty. This results in the option returning an empty string. It would be great when the user deselects transparency it could either:
- Go back to the default.
- Go back to the previous value the user had chosen before they selected transparency.
Hmm. I guess I could make it go back to default... Kind of a pain for a small use case especially when they have a go back to default option. ;)
Yea going back to default would be perfect.
Latest push v3.2.9.17 fixes this. It restores the last chosen color (not the default).
Let's make it so if the last isn't selected, the default is chosen. ;)
ok, done
Awesome.