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

IQSS / dataverse-frontend / 6773918643

06 Nov 2023 04:48PM CUT coverage: 98.318% (+0.006%) from 98.312%
6773918643

push

github

MellyGray
feat(IntegrationDatasetLocks): integrate locks userPersistentId

412 of 426 branches covered (0.0%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 3 files covered. (100.0%)

1342 of 1358 relevant lines covered (98.82%)

3868.45 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'
224✔
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
}
32✔
25

26
FormInputGroup.Text = FormInputGroupText
32✔
27

28
export { FormInputGroup }
32✔
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