uniforms: [BUG] filterDOMProps and uniforms-material package

Hi,

Did something change in the filterDOMProps and uniforms-material package in 3.0.0-rc.5?

I have this example:

console.log(filterDOMProps({
      className: "SCComponent-submitBtn-75",
      color: "primary",
      variant: "contained",
      fullWidth: true
    }))

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?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@radekmie yeah i had to specifically type npm run install to make it build and not just npm install and npm run build.

my npm version is 6.13.4

@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.