We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae0a8b commit 3430184Copy full SHA for 3430184
packages/pf4-component-mapper/src/files/slider.js
@@ -11,7 +11,7 @@ const Slider = (props) => {
11
12
return (
13
<FormGroup label={label} isRequired={isRequired} helperText={helperText} meta={meta} description={description} id={id || input.name}>
14
- <Grid hasGutter>
+ <Grid gutter="md">
15
<GridItem span={10}>
16
<input
17
className={'ddorg__pf4-component-mapper__dual-list-slider-input '}
@@ -22,7 +22,7 @@ const Slider = (props) => {
22
/>
23
</GridItem>
24
<GridItem span={2}>
25
- <Badge isRead>{input.value || rest.max / 2}</Badge>
+ <Badge isRead>{input.value || (rest.max && rest.max / 2) || 50}</Badge>
26
27
</Grid>
28
</FormGroup>
0 commit comments