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

Problem with sortable control #1253

Closed
nicolas92 opened this Issue Jan 16, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@nicolas92

nicolas92 commented Jan 16, 2017

Issue description:

Hello, I noticed a problem with the sortable control, there are several sortable that do not serve anything, as on the screenshot, there should be 4 input sortables, there are 20 more.
There is no error in the console, I do not think it comes from the js but from the control.
I have this problem locally, I did not manage to reproduce it live but a person told me that it had exactly the same problem on a site in production.
Do you have any idea what might cause this issue?
Thank you very much :)

screenshot

Version used:

Version 2.4.0

Using theme_mods or options?

theme_mods

Code to reproduce the issue (config + field(s))

Kirki::add_field( 'meta', array(
	'type'        => 'sortable',
	'settings'    => 'my_setting',
	'label'       => __( 'Meta', 'my_textdomain' ),
	'section'     => 'my_section',
	'default'     => array( 'author', 'date', 'categories', 'comments' ),
	'choices'     => array(
		'author' => esc_attr__( 'Author', 'my_textdomain' ),
		'date' => esc_attr__( 'Date', 'my_textdomain' ),
		'categories' => esc_attr__( 'Categories', 'my_textdomain' ),
		'comments' => esc_attr__( 'Comments', 'my_textdomain' ),
	),
	'priority'    => 10,
) );

@aristath aristath closed this in 4701524 Feb 4, 2017

@aristath

This comment has been minimized.

Show comment
Hide comment
@aristath

aristath Feb 4, 2017

Owner

Fixed. Should be ok now after you change the settings and re-save your options.

Owner

aristath commented Feb 4, 2017

Fixed. Should be ok now after you change the settings and re-save your options.

@nicolas92

This comment has been minimized.

Show comment
Hide comment
@nicolas92

nicolas92 Feb 5, 2017

Thank you very much :)

nicolas92 commented Feb 5, 2017

Thank you very much :)

@aristath aristath modified the milestone: 3.0 Apr 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment