Fixed #3708- SelectButton: inverse unselectable behaviour
parent
14781c1321
commit
0f1caf789f
|
@ -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.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue