spicywebau / craft-quick-field

Create Craft CMS fields on the fly while designing field layouts
MIT License
106 stars 6 forks source link

Buttons not showing in Craft 4.2.0.2 #17

Closed martinherweg closed 2 years ago

martinherweg commented 2 years ago

Hey,

I have installed the plugin but in the Field Layout Designer the buttons are not showing.

Craft Version is 4.2.0.2 and Plugin version 2.0.1

Is there anything I missed ?

image image

Thanks :)

ttempleton commented 2 years ago

Are there any errors in the browser console?

If not, is this happening on the field layout designer for an entry type, category group, or other element type (or any field layout designer regardless of element type)?

martinherweg commented 2 years ago

@ttempleton No console errors, same for every field layout designer.

ttempleton commented 2 years ago

Does it happen in any browser you try it with?

If it does, then if possible, could you please send your database backup and composer.json/lock to plugins@spicyweb.com.au and we'll have a look.

martinherweg commented 2 years ago

@ttempleton Unfortunately this is isn't possible but I've found the issue, in the _includeResources function the condition solves to false not sure which of the conditions though.

Edit: I've logged the conditions and this is the result image

ttempleton commented 2 years ago

Thanks for pointing that out, seems like https://github.com/craftcms/cms/issues/11033 is getting involved here.

I've just released Quick Field 2.0.2 which follows the advice from https://github.com/craftcms/cms/issues/11033#issuecomment-1111754160 which should resolve this. Please do let me know if that hasn't resolved it, though, and I'll reopen the issue.