Skip to content

export DefaultTemplate or add to the registry object #951

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

Closed
1 of 2 tasks
davidbarratt opened this issue Jun 9, 2018 · 0 comments
Closed
1 of 2 tasks

export DefaultTemplate or add to the registry object #951

davidbarratt opened this issue Jun 9, 2018 · 0 comments
Labels
possibly close To confirm if this issue can be closed

Comments

@davidbarratt
Copy link

davidbarratt commented Jun 9, 2018

Prerequisites

  • I have read the documentation;
  • In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description

It would be really helpful if DefaultTemplate was exported or added to the registry object. As far as I can tell, it's impossible to use the DefaultTemplate in a custom field.

My preference would be to ensure that registry.FieldTemplate has a default value (which would be DefaultTemplate.

Steps to Reproduce

  1. Create a custom field.
  2. Try to wrap it in the DefaultTemplate.

Expected behavior

Be able to wrap custom fields in the DefaultTemplate or the defined custom field template.

Actual behavior

Cannot access the DefaultTemplate.

Version

1.0.2

@davidbarratt davidbarratt changed the title export DefaultTemplate export DefaultTemplate or add to the registry object Jun 9, 2018
@jacqueswho jacqueswho added the possibly close To confirm if this issue can be closed label Feb 24, 2022
@stale stale bot closed this as completed Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possibly close To confirm if this issue can be closed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants