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

Allowing auto-generated fields #6819

Closed
pumguy opened this issue Jun 26, 2023 · 2 comments
Closed

Allowing auto-generated fields #6819

pumguy opened this issue Jun 26, 2023 · 2 comments
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@pumguy
Copy link

pumguy commented Jun 26, 2023

Adding a non-editable widget for auto-generated contents which can reference contents from other fields
Such as

collections:
  - name: person
    fields:
      - { name: "first_name", widget: "string" }
      - { name: "last_name", widget: "string" }
      - { name: "full_name", widget: "auto-genterated", default: "{{ fields.first_name }} {{ fields.last_name }}" }

makes the "full_name" field auto-generated from the other two fields in the same post during editing.

@pumguy pumguy added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Jun 26, 2023
@pumguy
Copy link
Author

pumguy commented Jun 26, 2023

Or maybe generate these fields when saving/publishing

@martinjagodic
Copy link
Member

This is not a well-written feature request. Closing in favor of other similar issues.

@martinjagodic martinjagodic closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

No branches or pull requests

2 participants