Fixed #3708- SelectButton: inverse unselectable behaviour

pull/3711/head
Tuğçe Küçükoğlu 2023-03-09 12:03:19 +03:00
parent 14781c1321
commit 0f1caf789f
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ const SelectButtonProps = [
{ {
name: 'unselectable', name: 'unselectable',
type: 'boolean', type: 'boolean',
default: 'true', default: 'false',
description: 'Whether selection can be cleared.' description: 'Whether selection can be cleared.'
}, },
{ {

View File

@ -65,7 +65,7 @@ export interface SelectButtonProps {
dataKey?: string | undefined; dataKey?: string | undefined;
/** /**
* Whether selection can be cleared. * Whether selection can be cleared.
* @defaultValue true * @defaultValue false
*/ */
unselectable?: boolean | undefined; unselectable?: boolean | undefined;
/** /**

View File

@ -38,7 +38,7 @@ export default {
multiple: Boolean, multiple: Boolean,
unselectable: { unselectable: {
type: Boolean, type: Boolean,
default: true default: false
}, },
disabled: Boolean, disabled: Boolean,
dataKey: null, dataKey: null,