We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e12db4 commit cbbff0bCopy full SHA for cbbff0b
src/cascader/hooks.ts
@@ -232,7 +232,7 @@ export const useCascaderContext = (props: TdCascaderProps) => {
232
setValue(multiple ? [] : '', 'invalid-value');
233
}
234
235
- if (!isEmptyValues(innerValue)) {
+ if (!isEmptyValues(innerValue.value)) {
236
statusContext.scopeVal = getCascaderValue(innerValue.value, valueType, multiple);
237
} else {
238
statusContext.scopeVal = multiple ? [] : '';
0 commit comments