reduxframework / redux-framework-4

Redux v4
https://redux.io/redux-4/
Other
97 stars 32 forks source link

Switch Field is not working - no reaction on click #205

Closed mneitz closed 3 years ago

mneitz commented 3 years ago

Support Hash

https://support.redux.io/?id=1qjH0RSAVzLlTLcl512MLkK9hhm5Z53jjT3ABPIHWRMXNAmXCvd0e21A2pVucgfk%2F7p0ybujiRTnp9RT6n%2BsGQ%3D%3D

Steps to reproduce

I Included an Switch field into a metabox of an custom posttype and for whatever reason the switch-button can not be clicked at all... there is no error in the console, and in other plugins it is working :/

Expected Behavior

I expected that the switch button can be switched on and off

Actual Behavior

no change if you click the switch button

Any Error Details (PHP/JavaScript)

JS Console is empty as well as no errors in PHP

dovy commented 3 years ago

Please try the code in this repo. We're getting ready for a release that solves this issue. Let us know if it works for you.

mneitz commented 3 years ago

Hi Dovy, Thx for the fast response I installed the update but it is still NOT clickable :/

mneitz commented 3 years ago

Hi Dovy, Do you need anything from my side? I am still holding the environment for you for testing! best regards - Martin

mohammedeisa commented 3 years ago

@essamamdani Please check if this issue has been fixed.

mneitz commented 3 years ago

I checked it from my side and it is still NOT working

mohammedeisa commented 3 years ago

@mneitz Thanks for the update. We will handle this ASAP.

essamamdani commented 3 years ago

I double-checked everything on my end and it works well, just as you said. If it doesn't work, please tell me how to reproduce it.

mneitz commented 3 years ago

Hi Essa, If you want, I can grant you access to the installation where it does not work. many THX - Martin

Am Sa., 22. Mai 2021 um 15:41 Uhr schrieb Essa Mamdani < @.***>:

I double-checked everything on my end and it works well, just as you said. If it doesn't work, please tell me how to reproduce it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/reduxframework/redux-framework-4/issues/205#issuecomment-846410184, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQIIWVPBZTDDYIGLWLI53TO6YALANCNFSM4ZNRJ23Q .

essamamdani commented 3 years ago

Hi Martin,

Yes. Please send me the installation’s instructions. Thanks

Sent from my iPhone

On 24-May-2021, at 7:25 PM, mneitz @.***> wrote:

 Hi Essa, If you want, I can grant you access to the installation where it does not work. many THX - Martin

Am Sa., 22. Mai 2021 um 15:41 Uhr schrieb Essa Mamdani < @.***>:

I double-checked everything on my end and it works well, just as you said. If it doesn't work, please tell me how to reproduce it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/reduxframework/redux-framework-4/issues/205#issuecomment-846410184, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMQIIWVPBZTDDYIGLWLI53TO6YALANCNFSM4ZNRJ23Q .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

mneitz commented 3 years ago

Hi essamamdani, I prepared an installation for you - where shoud i send you the login information to?

kprovance commented 3 years ago

@mneitz - I'll be taking over the debugging support for Redex next week. In the interim, I have followed this issue, unable to reproduce it, and would like to get it resolved for you and apply the appropriate fix to Redux, if any. My email is kevin.provance@gmail.com. Please also let me know which section of your options panel this issue occurs so I can personally examine it. Thanks!

essamamdani commented 3 years ago

Hi essamamdani, I prepared an installation for you - where shoud i send you the login information to?

here is my email Mamdani.info@gmail.com you can provide login details here....

kprovance commented 3 years ago

For those watching, the switch isn't responding because the JavaScript for the switch isn't loading. As far as I can tell, so far, is because the project is embedded in a plugin, and only loads options in a metabox panel. There doesn't seem to be a global panel, and it's my theory this is why the control JS isn't loading. I've asked the author to send me a copy of his plugin so I can debug it locally and figure out why Redux won't load control JS when only declared in a metabox panel. WIll post back when a solution is ready.

kprovance commented 3 years ago

We solved this via email. No update to the Redux core was necessary. It was a metaboxes issue.

mneitz commented 3 years ago

THX to the great Team behind REDUX!