options
在设置checkbox
和/或元素数组时使用属性radio
,如何为每个单选框/复选框自定义 HTML 格式的标签?例如,我想设置带有中断返回的日期/时间 - 请参见下面的输出示例:
[ ] Tuesday, Jan 1
5:00pm to 7:30pm
[ ] Wednesday, Jan 2
6:00am to 8:00am
[ ] Friday, Jan 4
1:00pm to 3:30pm
这是vue代码:
<FormulateInput
type="checkbox"
label="Select dates that applies"
:options="options"
v-model="dates"
>