mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #1470 - Add trueValue-falseValue to InputSwitch
This commit is contained in:
parent
3a854247be
commit
53a69ebd72
4 changed files with 42 additions and 4 deletions
|
@ -16,6 +16,18 @@ const InputSwitchProps = [
|
|||
type: "any",
|
||||
default: "null",
|
||||
description: "Inline of the component."
|
||||
},
|
||||
{
|
||||
name: "trueValue",
|
||||
type: "any",
|
||||
default: "true",
|
||||
description: "Value in checked state."
|
||||
},
|
||||
{
|
||||
name: "falseValue",
|
||||
type: "any",
|
||||
default: "true",
|
||||
description: "Value in unchecked state."
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue