Dolphiq / craft3-iconpicker

Craft plugin that provides a new field type that offers end users an easy way to pick an icon from a .woff or .ttf font file. You can easily use ionicons or font awesome icons or any other compatible font file.
MIT License
16 stars 11 forks source link

Can't get value via CraftQL #15

Closed u12206050 closed 6 years ago

u12206050 commented 6 years ago

Am getting this error:

{
  "error": "String cannot represent non scalar value: instance of plugins\\dolphiq\\iconpicker\\models\\IconpickerModel"
}

I tried manually fixing it with these instructions: CraftQL Third-pary Field Support But that didn't work

u12206050 commented 6 years ago

Got it to work by including it in craftql:

https://github.com/markhuot/craftql/pull/193