Browse Source

discourage indeterminate param as odoo do not manage Null value on boolean

pull/236/head
Pierre Verkest 9 years ago
parent
commit
e751635e47
  1. 2
      web_widget_boolean_switch/README.rst

2
web_widget_boolean_switch/README.rst

@ -44,7 +44,6 @@ extra
* **size**: The checkbox size - default: `null` - values: null, 'mini', * **size**: The checkbox size - default: `null` - values: null, 'mini',
'small', 'normal', 'large' 'small', 'normal', 'large'
* **animate**: Animate the switch - default: `true` * **animate**: Animate the switch - default: `true`
* **indeterminate**: Indeterminate state - default: `false`
* **inverse**: Inverse switch direction - default: `false` * **inverse**: Inverse switch direction - default: `false`
* **onColor**: Color of the left side of the switch - default: `"primary"` - * **onColor**: Color of the left side of the switch - default: `"primary"` -
values: 'primary', 'info', 'success', 'warning', 'danger', 'default' values: 'primary', 'info', 'success', 'warning', 'danger', 'default'
@ -74,6 +73,7 @@ extra
`function() {}`, `function() {}`,
* **onSwitchChange**: Callback function to execute on switch state change - * **onSwitchChange**: Callback function to execute on switch state change -
default: `function() {}` default: `function() {}`
* **indeterminate**: Indeterminate state - default: `false`
attrs attrs
----- -----

Loading…
Cancel
Save