mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
🐛 Add step values to numeric inputs (#124210)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
f7d9b0dc87
commit
d7daf41798
7 changed files with 9 additions and 0 deletions
|
@ -250,6 +250,7 @@ export const dateHistogramOperation: OperationDefinition<
|
|||
};
|
||||
setInterval(newInterval);
|
||||
}}
|
||||
step={1}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
|
|
|
@ -134,6 +134,7 @@ export const RangePopover = ({
|
|||
compressed
|
||||
placeholder={FROM_PLACEHOLDER}
|
||||
isInvalid={!isValidRange(tempRange)}
|
||||
step={1}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
|
@ -164,6 +165,7 @@ export const RangePopover = ({
|
|||
onSubmit();
|
||||
}
|
||||
}}
|
||||
step={1}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
|
|
|
@ -215,6 +215,7 @@ export const staticValueOperation: OperationDefinition<
|
|||
compressed
|
||||
value={inputValue ?? ''}
|
||||
onChange={onChangeHandler}
|
||||
step="any"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -212,6 +212,7 @@ export function ColorRangeItem({
|
|||
index: index + 1,
|
||||
},
|
||||
})}
|
||||
step="any"
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
{ActionButton ? (
|
||||
|
|
|
@ -170,6 +170,7 @@ const FloatingColumnsInput = ({
|
|||
onChange={(e) => {
|
||||
handleInputChange(Number(e.target.value));
|
||||
}}
|
||||
step={1}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -140,6 +140,7 @@ export const MaxLinesInput = ({
|
|||
value={inputValue}
|
||||
min={MIN_TRUNCATE_LINES}
|
||||
max={MAX_TRUNCATE_LINES}
|
||||
step={1}
|
||||
compressed
|
||||
disabled={isDisabled}
|
||||
onChange={(e) => {
|
||||
|
|
|
@ -459,6 +459,7 @@ export const AxisSettingsPopover: React.FunctionComponent<AxisSettingsPopoverPro
|
|||
});
|
||||
}
|
||||
}}
|
||||
step="any"
|
||||
/>
|
||||
</EuiFormRow>
|
||||
</EuiFlexItem>
|
||||
|
@ -504,6 +505,7 @@ export const AxisSettingsPopover: React.FunctionComponent<AxisSettingsPopoverPro
|
|||
});
|
||||
}
|
||||
}}
|
||||
step="any"
|
||||
/>
|
||||
</EuiFormRow>
|
||||
</EuiFlexItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue