meteoric autoform select-radio不起作用

时间:2015-12-05 17:03:02

标签: meteor ionic meteor-autoform meteoric

表单架构中不存在该字段, 我在表单中使用离子模板,这段代码对我不起作用:

Template.example.helpers({
    cardOptions: [
		{ value: 0, label:'Visa' },
		{ value: 1, label:'MasterCard' },
		{ value: 2, label:'Elo' },
		{ value: 3, label:'Hipercard' },
		{ value: 4, label:'Hiper' }
	]
});
<template name="example">
  {{> afQuickField name="payment.card" type="select-radio" options=cardOptions }}
</template>

1 个答案:

答案 0 :(得分:0)

如果要单独定义字段,则需要使用https_proxy组件。

例如:

no_proxy

这是MeteorPad