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: Allow functions for node Fields #945

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

IBlackI
Copy link

@IBlackI IBlackI commented Jun 30, 2022

Pull request depends on #942

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Currently it is impossible to use the data of the node to programmatically determine the display. You can only use fixed values of the top level of the node data.

Resolves #793

What is the new behavior?

A function can be passed through the tree options which will evaluate the values for each node in the tree.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

bobbyg603 and others added 3 commits May 17, 2022 20:18
Add eslint
Add core-js
Enable Ivy
Enable Aot
Fix polyfills
Fix lint errors
Fix template compilation errors
Fix example-app build
Fix docs-app build
Fix cyclical component references (angular/angular#43227 (comment))

BREAKING CHANGE: Library is now build with 'partial' Ivy
Functions can be used to retrieve the value of Fields for nodes.

resolve CirclonGroup#793
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.

Can I have DisplayField with more than 1 values?
2 participants