Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
Fix: Filter menuAppendTo props of SelectField (#105)
Browse files Browse the repository at this point in the history
* Filter menuAppendTo props of SelectField

* Bump up version to 4.7.5
  • Loading branch information
ljmotta authored Apr 26, 2022
1 parent db4dd01 commit c8d452a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"uniforms-bridge-json-schema": "3.5.1",
"uniforms-bridge-simple-schema": "3.5.1",
"uniforms-bridge-simple-schema-2": "3.5.1",
"uniforms-patternfly": "4.7.4"
"uniforms-patternfly": "4.7.5"
},
"devDependencies": {
"parcel-bundler": "^1.12.5",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uniforms-patternfly",
"version": "4.7.4",
"version": "4.7.5",
"description": "Patternfly forms for uniforms",
"repository": "[email protected]:aerogear/uniforms-patternfly.git",
"author": "Gianluca <[email protected]>",
Expand Down
11 changes: 10 additions & 1 deletion src/wrapField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ declare module 'uniforms' {
checkboxes: never;
exclusiveMaximum: never;
exclusiveMinimum: never;
menuAppendTo: never;
}
}

filterDOMProps.register('decimal', 'minCount', 'autoValue', 'isDisabled', 'exclusiveMaximum', 'exclusiveMinimum');
filterDOMProps.register(
'decimal',
'minCount',
'autoValue',
'isDisabled',
'exclusiveMaximum',
'exclusiveMinimum',
'menuAppendTo'
);

type WrapperProps = {
id: string;
Expand Down

0 comments on commit c8d452a

Please sign in to comment.