We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683b0bf commit e5db365Copy full SHA for e5db365
src/components/Form/CFormRadio.vue
@@ -1,11 +1,14 @@
1
<script>
2
import CFormCheckbox from './CFormCheckbox'
3
-delete CFormCheckbox.props.trueValue
4
-delete CFormCheckbox.props.falseValue
+//solution made to avoid deleting props from CFormCheckbox
+const props = Object.assign({}, CFormCheckbox.props)
5
+delete props.trueValue
6
+delete props.falseValue
7
8
export default {
9
name: 'CFormRadio',
10
extends: CFormCheckbox,
11
+ props,
12
type: 'radio',
13
methods: {
14
getCheckState () {
0 commit comments