hylia icon indicating copy to clipboard operation
hylia copied to clipboard

Provide example of using fieldsMetaData in cms preview

Open equivalentideas opened this issue 4 years ago • 0 comments

With the abstraction of <Preview> in https://github.com/hankchizljaw/hylia/blob/master/src/admin/previews.js I'm finding it hard to understand how to access fields (to render data from a relational widget in a preview) like this https://www.netlifycms.org/docs/customization/#accessing-metadata . I expect others are stumbling on this as well.

Is there an example you could share here for starters @hankchizljaw to see how we might be able to make this data accessible as users adapt the previews?

Thanks as always :heart:

equivalentideas avatar Jul 13 '20 01:07 equivalentideas