-
-
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
[BUG] filterDOMProps and uniforms-material package #815
Comments
Hi @simplecommerce. Yes, it was changed in #803, to remove |
@radekmie Hi, thanks for the response, yes it affects my project because |
OK, a workaround, for now, is to set these two props manually. I'll think about whether we should revert this change or not. Also, I'd like to hear your opinion on that. |
@radekmie Not to sound too stupid, but I am not sure I understand the reason for the change that impacts the In my use case, since I am creating custom components, I only want to filter the original I was thinking, if there would be a way to pass a prop or an argument to the Or something like that. If not, its no problem, there is always a work around, I just wanted to be sure it was intentional. |
So the reason for that is that the |
@radekmie Ok I see, is it possible for |
No, at least not right now, as |
@radekmie does this mean we're not able to pass |
@asibilia Indeed, it won't work now. We've also found a few other places where it is a problem. We have to revert this change. |
@simplecommerce, @asibilia - would any of you be able to check, whether #830 solves your problems? |
@radekmie don't want to sound dumb but how would I test it? |
@simplecommerce You'd have to clone the repo locally, set it up ( |
@radekmie I think I am missing a step, I tried cloning the repo and the filter-props branch and then ran npm install in the root folder, after that I went to my project and ran npm install /path-to-root/packages/uniforms-material. Seems to be ok then, I tried running my app and got this error.
I think I am supposed to Am I missing something? Update: I ran Ok so
I tried uninstalling the package and installing the one from the repo, and it works again. So I am wondering if anything else changed? Update 2: Ok so I had to also If @asibilia wants to confirm also. |
@simplecommerce Thanks! The first problem seems a bit odd as |
@radekmie yeah i had to specifically type my npm version is 6.13.4 |
Hi,
Did something change in the filterDOMProps and uniforms-material package in 3.0.0-rc.5?
I have this example:
This used to return the whole object, but now in the latest version it only returns className and color, variant and fullWidth is missing.
You can see the example below, updated both the uniforms and uniforms-material package to the rc.5 and it causes this issue.
https://codesandbox.io/s/currying-snow-jk55s?file=/App.tsx
Any ideas?
The text was updated successfully, but these errors were encountered: