|
@@ -38,8 +38,8 @@ class Switches extends FormComponent
|
|
|
protected static $propsRule = [
|
|
protected static $propsRule = [
|
|
|
'size' => 'string',
|
|
'size' => 'string',
|
|
|
'disabled' => 'bool',
|
|
'disabled' => 'bool',
|
|
|
- 'trueValue' => 'string',
|
|
|
|
|
- 'falseValue' => 'string'
|
|
|
|
|
|
|
+ 'trueValue' => '',
|
|
|
|
|
+ 'falseValue' => ''
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
public function getComponentName()
|
|
public function getComponentName()
|