Comments (3)
CraftQL support was added in v1.2.0. Single Cat fields should now work identically to native Categories fields. Please let me know if you run into any problems.
from single-cat.
I haven't really looked into what that would take, since I don't use CraftQL myself. But I will definitely take a look. My plugin is really just an alternate UI on top of the native Categories field, so I would imagine it will be pretty easy to enable support.
from single-cat.
If it helps, this is the error that GraphQL throws when trying to query a field using Single Cat:
{
"errors": [
{
"message": "Field \"format\" of type \"String\" must not have a sub selection.",
"category": "graphql",
"locations": [
{
"line": 10,
"column": 20
}
]
}
]
}
from single-cat.
Related Issues (14)
- Error using this as a field HOT 1
- Dropdown not being populated HOT 4
- Ability to target parent category HOT 1
- Error in Craft 3.1 HOT 1
- Categories as Lightswitches HOT 1
- Order of categories in dropdown HOT 2
- Allowing blank option silently fails validation HOT 2
- When matrix group is collapsed only category id is shown HOT 1
- Categories not pulling from correct site Id HOT 1
- Craft 4 Compatibility HOT 11
- This field is not set to a valid category group. HOT 1
- TypeError: Argument #2 ($branchLimit) must be of type int, null given HOT 1
- Single Entry HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from single-cat.