Skip to content

Commit

Permalink
Display placeholder value for slider tooltip in numeric facet.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewelinagr committed May 23, 2024
1 parent 52345b1 commit 099be2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const NumericalRangeSelectionFacet = (props: MetadataViewFacetProperties) => {
};

const renderInput = (inputValue, onInputChange, placeholder) => (
<ValueLabelComponent value={nonEmptyNumber(inputValue, '')}>
<ValueLabelComponent value={nonEmptyNumber(inputValue, placeholder)}>
<Input
value={nonEmptyNumber(inputValue, '')}
margin="dense"
Expand Down

0 comments on commit 099be2f

Please sign in to comment.