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

Field setting js broken in Matrix Block #66

Closed
timkelty opened this issue Feb 20, 2020 · 4 comments
Closed

Field setting js broken in Matrix Block #66

timkelty opened this issue Feb 20, 2020 · 4 comments
Labels
2.0 bug Something isn't working

Comments

@timkelty
Copy link

Screen Shot 2020-02-20 at 10 02 15 AM

When adding the field to a Matrix Block, the lightswitches don't show.

<jason-switch> is left rendered in the template, so I suspect you just need to make sure your component is mounting within Matrix.

Note: if you try save the field at this point, it will reload with an error because those fields are required – but at that point the switches render, so you can set the values.

@chasegiunta
Copy link
Owner

Hey Tim, thanks for the heads up! Jason definitely needs some love, especially with 3.4. It's encouraging to know that you (I've used plenty of your work before!) are using it.

I'm going to try and get an update out for it this weekend and see if I'm smart enough to address some of these issues you and others have reported. 👍

@timkelty
Copy link
Author

Hah!
I was using a text field for a cheap way for clients to pass in params to Algolia and found this plugin, wondered if someone had built a json editor, and voilà!

Thanks for the work! 🥂

@timkelty
Copy link
Author

…also hard to not give it a shot with such a great icon :)

@chasegiunta chasegiunta added bug Something isn't working 2.0 labels May 7, 2020
@chasegiunta
Copy link
Owner

Sorry for the long wait, should be fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants