Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeater + checkbox issue. Auto-checked after saving #1715

Closed
AlxMedia opened this issue Dec 16, 2017 · 2 comments
Closed

Repeater + checkbox issue. Auto-checked after saving #1715

AlxMedia opened this issue Dec 16, 2017 · 2 comments

Comments

@AlxMedia
Copy link
Contributor

AlxMedia commented Dec 16, 2017

Issue description:

I have a checkbox inside of a repeater field. It is unchecked, or false, by default. If I add a few repeater items, each with a checkbox unchecked and then press Save, all the checkboxes are then true/checked. Not sure if I'm doing anything wrong here or if it's an issue. https://i.imgur.com/7j8EJHr.png (Open in new window)

'social-target'	=> array(
			'type'			=> 'checkbox',
			'label'			=> esc_attr__( 'Open in new window', 'flexwall' ),
			'description'	=> esc_attr__( '', 'flexwall' ),
			'default'		=> false,
		),

Another thing is that fontawesome fields does not work within the repeater.

@AlxMedia AlxMedia changed the title Repeater + checkbox - not working correctly? Repeater + checkbox issue. Auto-checked after saving Dec 16, 2017
@aristath
Copy link
Contributor

fixed in the develop branch, will be included in v3.0.21 👍

aristath added a commit that referenced this issue Dec 16, 2017
@AlxMedia
Copy link
Contributor Author

AlxMedia commented Dec 16, 2017

👍 That was quick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants