Skip to content

Commit

Permalink
Fix slider format
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Feb 11, 2021
1 parent ca0da9d commit e443854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/controls/src/widget_int.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export abstract class BaseIntSliderView extends DescriptionView {
orientation: orientation,
direction: orientation === 'horizontal' ? 'ltr' : 'rtl',
format: {
from: (value: number): number => value,
from: (value: string): number => Number(value),
to: (value: number): number => value
}
});
Expand Down

0 comments on commit e443854

Please sign in to comment.