Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of nested render arrays in preview content #39

Closed
aleksip opened this issue Jan 26, 2017 · 0 comments
Closed

Allow use of nested render arrays in preview content #39

aleksip opened this issue Jan 26, 2017 · 0 comments

Comments

@aleksip
Copy link
Contributor

aleksip commented Jan 26, 2017

E.g. in this case the pattern shila_image is rendered, but the render array in shila_image's image field is not rendered.

shila_card:
  label: Card
  description: A card component
  fields:
    image:
      type: render
      label: Image
      description: Card image. Optional.
      preview:
        type: pattern
        id: shila_image
        fields:
          image:
            '#type': image
            '#uri': http://lorempixel.com/300/200/nature/
            '#width': 300
            '#attributes': {}
aleksip added a commit to aleksip/ui_patterns that referenced this issue Jan 26, 2017
aleksip added a commit to aleksip/ui_patterns that referenced this issue Jan 26, 2017
ademarco added a commit to aleksip/ui_patterns that referenced this issue Jan 27, 2017
ademarco added a commit to aleksip/ui_patterns that referenced this issue Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants