Front end view - link 1 -- hidden link
Front-end error - Link 2 -- hidden link
How form looks in setup (it shows the value from the field) - Link 3 - hidden link
What am I missing? Is there a limit on how many value can be in the JSON?
Hello. Thank you for contacting the Toolset support.
I'll have to make sure that the json string return the options for the select dropdown should return only options.
Can you please share problem URL and admin access details and tell me where you added the JSON code.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The solution works well for Select2. Thanks a lot. 🙂
But the original problem is still there. If I have more than 800 records on the dropdown, he select2 field is also not available.
You can look at the shortcode link I shared in the private chat. Is there a cap on number of records you can render in the shortcode on a select2/select field?
That's fine. My question is -- is there a restriction on Toolset how many elements can exist in a JSON?
==>
I dont think there is such restriction added by Toolset. And its generic select field so there should not be any restriction.
I think this is a problem with Toolset and not with my code.
Here is why
I was able to render the output of the shortcode on the front-end with the right JSON format without any limit.
The problem is in the generic select field that is not rendering the value beyond 800. So this is not a backend issue. This seems like a front-end issue where the following code is not able to render the select field on the front-end.