File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
jsapp/js/components/dataAttachments Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -375,9 +375,9 @@ class ConnectProjects extends React.Component {
375
375
/>
376
376
377
377
{ this . state . fieldsErrors ?. source &&
378
- < bem . KoboSelect__errors >
378
+ < bem . KoboSelect__error >
379
379
{ this . state . fieldsErrors ?. source }
380
- </ bem . KoboSelect__errors >
380
+ </ bem . KoboSelect__error >
381
381
}
382
382
</ bem . KoboSelect__wrapper >
383
383
) ;
Original file line number Diff line number Diff line change @@ -91,13 +91,17 @@ class DataAttachmentColumnsForm extends React.Component {
91
91
onAttachToSourceCompleted ( ) {
92
92
this . props . onModalClose ( ) ;
93
93
}
94
- onBulkSelect ( ) {
94
+ onBulkSelect ( evt ) {
95
+ evt . preventDefault ( ) ;
96
+
95
97
let newList = this . state . columnsToDisplay . map ( ( item ) => {
96
98
return { label : item . label , checked : true }
97
99
} ) ;
98
100
this . setState ( { columnsToDisplay : newList } )
99
101
}
100
- onBulkDeselect ( ) {
102
+ onBulkDeselect ( evt ) {
103
+ evt . preventDefault ( ) ;
104
+
101
105
let newList = this . state . columnsToDisplay . map ( ( item ) => {
102
106
return { label : item . label , checked : false }
103
107
} ) ;
You can’t perform that action at this time.
0 commit comments