Dynamic values for Component Service's fields
under review
H
Huy
When creating components with the Component Service, we can create a select dropdown using enum on String input type (https://docs.squiz.net/component-service/latest/input-types/input-type-string.html#enumerated-values), but these need to be defined in the component’s manifest.json.
So when creating something like a news listing component and the categories is configured in a metadata schema on Matrix CMS, the dropdown would need to be updated by a developer manually every time instead of a content author.
For reference, with a Matrix CCT, we can have a script to generate checkboxes into the Edit Layout, and when content author select the categories, it gets written into a hidden input field.
But because we can’t customise the edit layout with Component Service, things like this can't be done and we would have to use plaintext.
Having an ability to have input field values be dynamic would be greatly helpful.
Cam Ross
Hi Huy,
Thank you for sharing this suggestion!
Our Product Management team has now logged this request. We regularly review requests like this alongside our strategic product goals and customer demand patterns to shape our upcoming roadmap.
While we cannot promise an immediate release timeline right now, we will update this thread if this capability is scheduled for development.
Best regards,
Cam
Product Lead
C
Carrie Han
updated the status to
under review