-
Notifications
You must be signed in to change notification settings - Fork 556
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
feat(core): add field arg to hideExpression and expressionProperties #1544
feat(core): add field arg to hideExpression and expressionProperties #1544
Conversation
acfe0b2
to
f6458c3
Compare
could you please apply the same for |
f6458c3
to
1ca48cb
Compare
I think I managed it @aitboudad - LMK |
awesome 💪 should we add a test for this as well? |
Add field argument to hideExpression and expressionProperties fix ngx-formly#704
1ca48cb
to
e43f530
Compare
Added a test for hideExpression but couldn't really see similar tests for expressionProperties. Also added a reference in expression-properties.md after finding it searching through the codebase |
Thank you @intellix, expect |
Sure, thanks :) For the impatient: https://github.com/ds300/patch-package
|
Just a consideration as I was applying the patch meanwhile until ngx-formly/src/core/src/lib/components/formly.field.config.ts Lines 235 to 237 in 1bea5a2
I'm mentioning this here as in my setup after upgrading to
Obviously TypeScript doesn't compile as now 3 params are expected. I don't see this as a big problem, as it's quite an edge case. Just wanted to mention that to you guys @aitboudad @intellix |
@juristr I'll take care of it, Thanks! |
Add field argument to hideExpression and expressionProperties
fix #704
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Please check if the PR fulfills these requirements
npm run build
produced a successful build. (Unit testing can be done by runningnpm test
;)npm run lint
to do this.npm run build
will fail if there are files not linted.)Please provide a screenshot of this feature before and after your code changes, if applicable.
Other information: