Skip to content

Commit e443854

Browse files
committed
Fix slider format
1 parent ca0da9d commit e443854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/controls/src/widget_int.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export abstract class BaseIntSliderView extends DescriptionView {
215215
orientation: orientation,
216216
direction: orientation === 'horizontal' ? 'ltr' : 'rtl',
217217
format: {
218-
from: (value: number): number => value,
218+
from: (value: string): number => Number(value),
219219
to: (value: number): number => value
220220
}
221221
});

0 commit comments

Comments
 (0)