• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IQSS / dataverse-frontend / 6162162718

12 Sep 2023 04:16PM CUT coverage: 98.443% (-0.09%) from 98.531%
6162162718

Pull #156

github

MellyGray
fix(FilesTableRowSelection): global checkbox should select the current page only
Pull Request #156: 149 - Configure manual pagination in the Files Table UI

270 of 280 branches covered (0.0%)

Branch coverage included in aggregate %.

98 of 98 new or added lines in 10 files covered. (100.0%)

931 of 940 relevant lines covered (99.04%)

872.49 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.0
/packages/design-system/src/lib/components/form/form-group/form-input-group/FormInputGroup.tsx
1
import React, { PropsWithChildren } from 'react'
210✔
2
import { InputGroup } from 'react-bootstrap'
3
import { FormInputGroupText } from './FormInputGroupText'
4
import { Col } from '../../../grid/Col'
5

6
interface FormInputGroupProps {
7
  hasVisibleLabel?: boolean
8
}
9

10
function FormInputGroup({ hasVisibleLabel, children }: PropsWithChildren<FormInputGroupProps>) {
11
  const childrenInsideGroup = React.Children.map(children as JSX.Element, (child) => {
10✔
12
    return React.cloneElement(child, {
20✔
13
      withinMultipleFieldsGroup: true
14
    })
15
  })
16

17
  return hasVisibleLabel ? (
10!
18
    <Col sm={9}>
19
      <InputGroup className="mb-3">{childrenInsideGroup}</InputGroup>
20
    </Col>
21
  ) : (
22
    <InputGroup className="mb-3">{childrenInsideGroup}</InputGroup>
23
  )
24
}
30✔
25

26
FormInputGroup.Text = FormInputGroupText
30✔
27

28
export { FormInputGroup }
30✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc