We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49d40d6 commit e25af8dCopy full SHA for e25af8d
src/components/Form/src/hooks/useFormEvents.ts
@@ -419,7 +419,7 @@ function getDefaultValue(
419
}
420
421
function checkIsRangeSlider(schema: FormSchema) {
422
- if (schema.component === 'Slider' && schema.componentProps && schema.componentProps.range) {
+ if (schema.component === 'Slider' && schema.componentProps && 'range' in schema.componentProps) {
423
return true;
424
425
0 commit comments