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

The duration format should be defined in the template to avoid having to override the controller #48

Open
xaviermarchegay opened this issue Feb 21, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@xaviermarchegay
Copy link

TextField::new('duration')->formatValue(function ($value, ProcessExecution $entity) {
return $entity->duration(); // returned format can be changed here
}),

@xaviermarchegay xaviermarchegay added the enhancement New feature or request label Feb 21, 2025
@xaviermarchegay xaviermarchegay added this to the v3.0 milestone Feb 21, 2025
@xaviermarchegay xaviermarchegay self-assigned this Feb 21, 2025
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

1 participant