@bytebrand/fe-ui-core 4.0.259 → 4.0.260

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.0.259",
3
+ "version": "4.0.260",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -58,8 +58,8 @@ const RangeControlled = ({
58
58
 
59
59
  const getOptions = (options: any): Object[] =>
60
60
  options.map((option: string) => ({
61
- value: option,
62
- label: `${numberWithDot(option)}`
61
+ value: `${option}`,
62
+ label: `${option}`
63
63
  }));
64
64
 
65
65
  const transformValues = (values: any): number[] => {
@@ -113,7 +113,7 @@ const RangeControlled = ({
113
113
 
114
114
  const fromProps = {
115
115
  size: 'custom',
116
- value: from ? numberWithDot(from) : null,
116
+ value: from ? from : null,
117
117
  label: `${t('filters.from')} €`,
118
118
  onChange: (value: any) => onDropDownChange('from', value),
119
119
  items: getOptions(sliceLessThan(getDropdownRange(name), to))
@@ -121,7 +121,7 @@ const RangeControlled = ({
121
121
 
122
122
  const toProps = {
123
123
  size: 'custom',
124
- value: to ? numberWithDot(to) : null,
124
+ value: to ? to : null,
125
125
  label: `${t('filters.to')} €`,
126
126
  onChange: (value: any) => onDropDownChange('to', value),
127
127
  items: getOptions(sliceMoreThan(getDropdownRange(name), from))