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

fix: struct_field in bureaucracy form now supports a default value #354

Merged

Conversation

solewniczak
Copy link
Contributor

Before that we cannot use bureaucracy default values for struct_field ("=default value" syntax). Now it's possible.

Before that we cannot use bureaucracy default values for struct_field ("=default value" syntax). Now it's possible.
@solewniczak
Copy link
Contributor Author

solewniczak commented Dec 7, 2017

Related to #353

solewniczak pushed a commit to gkrid/dokuwiki-plugin-struct that referenced this pull request Dec 7, 2017
This commit adds extra syntax which allow us to add struct fields to bureaucracy forms as hidden fields:

  struct_fieldhidden "products.product" "=value"

This only make sense with cosmocode#354
@splitbrain splitbrain merged commit d6e3612 into cosmocode:master Jan 9, 2018
@solewniczak solewniczak deleted the fix-default-value-for-bureaucracy-field branch January 9, 2018 09:43
@moz0817
Copy link

moz0817 commented Feb 10, 2019

It seems so that default values don't work for field types Lookup and Page (usetitles true).
Hopefully ist only a little problem, because default values are very useful.

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

Successfully merging this pull request may close these issues.

3 participants