Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3
Open
Description
I'm using theCFormCheck component to allow the user to select an option, but I can't figure out how to get the value of the selected button back to my state variable. Should I be setting themodel-value
attribute? If so, how does that work? Every time I try to set it, the attribute takes on the valuetrue
no matter what value I pass in. Is there an example on the documentation site? Thank you.
Example:
<CFormCheckid="inlineCheckbox1"v-model="cloudSave"inlinetype="radio"name="inlineRadioOptions"label="Local"model-value="cloudSave"/>
Metadata
Metadata
Assignees
Labels
No labels