jodiplannes
Forum Replies Created
-
Hi!
Thank you for answering my question.
Yes I realised that this does work, but the result is less desirable since the entire text turns into a link. I did enjoy the freedom provided with the other solution, but have for the time being converted all these fields to “GDPR fields”.
Is there any plan on readding the previous funtionality?
Forum: Plugins
In reply to: [Login by Auth0] Management API token endpoint return 404It turned out that the code was fine.
The problem was running the wrong piece of code
(The function for making calls after the token has been retrieved).If you think this might help someone out you can leave it up, but otherwise I can remove it
Forum: Fixing WordPress
In reply to: Page full screen rows breaking checkboxes when scrollableRight, thanks, I will try that!
Hi, Thank you for the reply!
A actually just figured out a workaround using regular Javascript. I updated the “select-value” and used
element.setAttribute("aria-invalid" , "false");which kind of did the trick.selectField = document.getElementById('select-3-field'); selectField.value = "some-value" selectField.setAttribute("aria-invalid" , "false");Editing the visual part turned out to be more difficult however. After a lot of trial and error I figured out my problem; the “forminator-value” div was not loaded in immediately. So to address this i set a timeout before getting these elements.
selectField = document.getElementById('select-3-field');setTimeout(function(){displayValue= selectField.nextSibling.getElementsByClassName('forminator-value')[0]; allValues= Array.from(selectField.nextSibling.getElementsByClassName('forminator-dropdown-list')[0].childNodes);,500);I have wasted more time on this than I would like to admit, but hopefully this could help someone in the future.
- This reply was modified 5 years, 8 months ago by jodiplannes.
I have the same problem.
The short workaround I came up with was this css:
.select2-selection.select2-selection–single{
display:none!important;
}Don’t know why it is a problem to begin with, but this is working for now