Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Meteoric中设计自动表单? {{{#autoformschema=“asdf”id=“sdfg”type=“method”method=“meth”} {{>afQuickField name=“startLocation”} {{>afQuickField name=“destination”} {{>afQuickField name=“date”} {{>afQuickField name=“departureTime”} {{>afQuickField name=“returnTime”} {{>afQuickField name=“seats”type=“number”} 提交 {{/autoForm}_Meteor_Ionic Framework_Ionic_Meteor Autoform_Meteoric - Fatal编程技术网

如何在Meteoric中设计自动表单? {{{#autoformschema=“asdf”id=“sdfg”type=“method”method=“meth”} {{>afQuickField name=“startLocation”} {{>afQuickField name=“destination”} {{>afQuickField name=“date”} {{>afQuickField name=“departureTime”} {{>afQuickField name=“returnTime”} {{>afQuickField name=“seats”type=“number”} 提交 {{/autoForm}

如何在Meteoric中设计自动表单? {{{#autoformschema=“asdf”id=“sdfg”type=“method”method=“meth”} {{>afQuickField name=“startLocation”} {{>afQuickField name=“destination”} {{>afQuickField name=“date”} {{>afQuickField name=“departureTime”} {{>afQuickField name=“returnTime”} {{>afQuickField name=“seats”type=“number”} 提交 {{/autoForm},meteor,ionic-framework,ionic,meteor-autoform,meteoric,Meteor,Ionic Framework,Ionic,Meteor Autoform,Meteoric,上面的代码在我的Meteor应用程序中生成了一个表单,但是它看起来很糟糕(或者至少不直观): 我不知道这是为什么。在我看到的示例(,)中,表单以一种更加感性的方式呈现。如何让afQuickField在单独的行上显示标签和输入,或者至少以另一种有意义的方式显示?可能不需要将其放在FieldSet中您是否添加了Meteroic:autoform-ionic包@challett@corvid取出字段集不会改变任何东西,并且添加了meteroic:autoform-ionic {{#autoFor

上面的代码在我的Meteor应用程序中生成了一个表单,但是它看起来很糟糕(或者至少不直观):


我不知道这是为什么。在我看到的示例(,)中,表单以一种更加感性的方式呈现。如何让afQuickField在单独的行上显示标签和输入,或者至少以另一种有意义的方式显示?

可能不需要将其放在FieldSet中您是否添加了
Meteroic:autoform-ionic
包@challett@corvid取出
字段集
不会改变任何东西,并且添加了
meteroic:autoform-ionic
  {{#autoForm schema="asdf" id="sdfg" type="method" meteormethod="meth"}}
    <fieldset>
      {{> afQuickField name="startLocation"}}
      {{> afQuickField name="destination"}}
      {{> afQuickField name="date"}}
      {{> afQuickField name="departureTime"}}
      {{> afQuickField name="returnTime"}}
      {{> afQuickField name="seats" type="number"}}
    </fieldset>
    <button type="submit" class="btn btn-primary">submit<button>
  {{/autoForm}}