[Résolu] Modal display of post form parent selection not working
Ce fil est résolu. Voici une description du problème et la solution proposée.
Problem:
isplay a post form to create a post, in a Bootstrap modal,
the dropdown select was limited to 10 entries and the search facility does not function in Firefox browser.
jQuery(document).on( 'cred_form_ready', function($) {
// ALL YOUR CRED form JS code goes here. Add your JS code here
jQuery.fn.modal.Constructor.prototype.enforceFocus = function() {}
});
Relevant Documentation:
This support ticket is created Il y a 3 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 4.10 hours from now. Thank you for your understanding.
I have tested it again, but can not see the same problem as your description:
- scroll down to see the model footer.
- zoom your screen so that it does not fit like the example image
see the new video capture: hidden link
File:
testpage – Teesdale Local - Mozilla Firefox 2019-12-26 10-45-55
if you need more assistance for it, please provide a test site with the same problem. thanks
I have tried it again, with below steps, please correct me if there is any missing:
1) Edit post form "Add Org-Venue TEST", add 10 more fields into the form content
2) Test it in front-end: hidden link
3) Resize the browser window to small size(414 *736)
4) test it in field "Places Organisation-Venues", it works just fine
So please provide the duplicator package with the same problem, also provide the detail steps to reproduce problem. thanks
Hi Luo and sorry about this - it is looking like a local problem here.
If you log into our live site hidden link using the same login details as in the duplicator.
Then go to test page as before and see if the form is working for you in Firefox. The form is long and so there is no need to change the screen size. All above in Firefox.
Thanks for the details, you are right, it is the same probelm as the select2 document: hidden link
I have done below modifications in your website:
1) Edit the post form "Add Org-Venue TEST":
in JS editor, add below JS codes:
jQuery(document).on( 'cred_form_ready', function($) {
// ALL YOUR CRED form JS code goes here. Add your JS code here
jQuery.fn.modal.Constructor.prototype.enforceFocus = function() {}
});
2) Test it in front-end: hidden link
click button "Add Organisation-Venue"
I can see that select2 field works fine. can you confirm it? thanks