@@ -17,27 +17,6 @@ import classnames from 'classnames';
17
17
import Labeled from './Labeled' ;
18
18
import { LinearProgress } from '../layout' ;
19
19
20
- const sanitizeRestProps = ( {
21
- setFilter,
22
- setPagination,
23
- setSort,
24
- loaded,
25
- ...rest
26
- } : any ) => sanitizeInputRestProps ( rest ) ;
27
-
28
- const useStyles = makeStyles (
29
- theme => ( {
30
- root : { } ,
31
- label : {
32
- transform : 'translate(0, 8px) scale(0.75)' ,
33
- transformOrigin : `top ${
34
- theme . direction === 'ltr' ? 'left' : 'right'
35
- } `,
36
- } ,
37
- } ) ,
38
- { name : 'RaCheckboxGroupInput' }
39
- ) ;
40
-
41
20
/**
42
21
* An Input component for a checkbox group, using an array of objects for the options
43
22
*
@@ -233,6 +212,28 @@ const CheckboxGroupInput: FunctionComponent<
233
212
) ;
234
213
} ;
235
214
215
+ const sanitizeRestProps = ( {
216
+ setFilter,
217
+ setPagination,
218
+ setSort,
219
+ loaded,
220
+ touched,
221
+ ...rest
222
+ } : any ) => sanitizeInputRestProps ( rest ) ;
223
+
224
+ const useStyles = makeStyles (
225
+ theme => ( {
226
+ root : { } ,
227
+ label : {
228
+ transform : 'translate(0, 8px) scale(0.75)' ,
229
+ transformOrigin : `top ${
230
+ theme . direction === 'ltr' ? 'left' : 'right'
231
+ } `,
232
+ } ,
233
+ } ) ,
234
+ { name : 'RaCheckboxGroupInput' }
235
+ ) ;
236
+
236
237
CheckboxGroupInput . propTypes = {
237
238
choices : PropTypes . arrayOf ( PropTypes . object ) ,
238
239
className : PropTypes . string ,
0 commit comments