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

insert field value in another field value in config yml #2122

Closed
engmagdy87 opened this issue Feb 24, 2019 · 1 comment
Closed

insert field value in another field value in config yml #2122

engmagdy87 opened this issue Feb 24, 2019 · 1 comment

Comments

@engmagdy87
Copy link

in config.yml, I have the following

fields:
      - {
          label: 'Path',
          name: 'path',
          widget: 'hidden',
          default: '/book/{{title}}',
        }
      - { label: 'Title', name: 'title', widget: 'string', required: true }

the generate markdown has
path: '/book/{{title}}'

title wasn't replaced with title text but still on the form of {{title}}

@erquhart
Copy link
Contributor

default should be a plain value, it doesn't expect any expressions. There's an open issue around this: #450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants