-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
AntD: Customizable style on AutoField #404
Conversation
Codecov Report
@@ Coverage Diff @@
## master #404 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 157 157
Lines 1396 1396
=====================================
Hits 1396 1396
Continue to review full report at Codecov.
|
Thank you, @webpn! |
Thank you for accepting the pull request. Here is the built file
Here is the locally built file:
You can see that the code about the Did I forget something about the build on my pull req.? |
@webpn: nope, my fault. I've published incorrect (old) version. Will do it in a moment. I have to bind the build to the publish script... EDIT: Done. |
Yesterday I noticed an issue that affects my pull req: since I wanted to be able to customize the hardcoded style ( However, the You can see an example on this CodeSandbox. I didn't notice this issue before because I was testing only with How can I fix this? I thought it would be better if the prop on the wrapper function was called |
Well, @webpn, it's a problem. You can submit a PR for it, but I have to think about it a bit more: it's a breaking change. Not a big deal, as there wasn't such prop for a long time and there is, which is also a breaking change, but it's a new feature, so semantic versioning allows it. |
Since the "style" prop is affected by a serious issues (see vazco#404 (comment)), I updated the prop name into "wrapperStyle".
Ok, I created #414 |
Since the "style" prop is affected by a serious issues (see vazco#404 (comment)), I updated the prop name into "wrapperStyle".
Making AutoField, and all other components enhanced via
wrapField
, customizable through astyle
prop.