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

Problem with sortable control #1253

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

Problem with sortable control #1253

nicolas92 opened this issue Jan 16, 2017 · 2 comments
Milestone

Comments

@nicolas92
Copy link

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
Copy link
Contributor

aristath commented Feb 4, 2017

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

@nicolas92
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants