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

Feature Request: Widget compute #111

Closed
samtrion opened this issue Mar 11, 2024 · 3 comments
Closed

Feature Request: Widget compute #111

samtrion opened this issue Mar 11, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@samtrion
Copy link

This widget is a read-only element that updates itself based on events (focus change, etc.). It should take over existing content and transform it if necessary.

The configuration for this could look as follows.

fields:
  - label: Slug
    name: slug
    widget: string
    i18n: duplicate
  - label: TranslationKey
    name: translationKey
    widget: compute
    value: posts-{{fields.slug}}
@kyoshino kyoshino added the enhancement New feature or request label Mar 11, 2024
@kyoshino
Copy link
Member

It’s probably not difficult to implement but I don’t want to think about circular reference handling 😅

@samtrion
Copy link
Author

Well, there are solutions for that too, especially as the range of setting options is limited.

It also depends a little on the implementation of #17, so that you don't have to fish with dynamite to find the error.

@kyoshino
Copy link
Member

Just shipped v0.13.0 to implement this and other features 🚀

@kyoshino kyoshino self-assigned this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants