meteor-autoform

    0热度

    2回答

    我今天正在研究MeteorJs,但卡住了这一点:Intermediate Meteor Tutorial #8 - Insert Permissions, Publishing & Meteor Toys。 errorClass {error: 404, reason: "Method '/recipes/insert' not found", details: undefined, messag

    1热度

    1回答

    我使用以下领域SimpleSchema, "fileNo": { type: String, label: "File No.", autoValue: function() { console.log('this', this); console.log('typeof this.value.length ', typeof this.val

    1热度

    1回答

    我使用下面的命令创建了一个新的应用程序; meteor create --full test 链接应用程序工作正常。但后来,我添加了aldeed:autoform来项目并重新运行流星。 浏览器控制台显示错误 Error : There is no route for the path:/ 和整个UI是空白。 注意:当我删除包,应用程序工作正常。

    0热度

    2回答

    我是新来的流星,我必须从aldeed/meteor-autoform 与流星自动窗体的问题,我想实现一个多选择框。 Exercises = new Mongo.Collection('exercises'); ExerciseSchema = new SimpleSchema({ name: { label: "Name", type: String }, tags:

    1热度

    1回答

    场景: 我试图插入一个Appointment使用autoform只有当日期不冲突的客户端。下面是获取简要想法的代码。 {{#autoForm id='insertAppointmentForm' collection=appointment type="insert" doc=this validation="browser"}} <fieldset> <!-

    0热度

    1回答

    我正在“超级管理员”用户可以创建其他用户并设置他们的用户名和密码的项目中工作。我有一个AutoForm quickForm根据连接到Meteor.users集合(使用集合2)的SimpleSchema呈现表单。 继架构连接到用户收集Collection2 docs的建议,我的模式是这样的: Usuarios.schema = new SimpleSchema({ ... use

    0热度

    2回答

    我的集合和插入+更新+删除功能正常工作,直到我将模式更改为包含upVoters!没有任何功能似乎工作,虽然他们在添加之前工作正常。我使用aldeed简单模式,我没有得到任何错误。问题在于upVoters的默认值,因为当我评论默认值时,所有事情都可以顺利进行。不过,我需要跟踪每个upVoter,让他们投票一次。 任何想法?提前致谢! import SimpleSchema from 'simpl-s

    1热度

    1回答

    使用autoform,似乎数据是从autoform传递的,因为我的服务器上的Meteor方法确实获取了数据,但是在我的方法内部进行数据库更新不会更新我的数据库...我错过了什么? 自动窗体代码... {{> quickForm collection="Rooms" type="method-update" doc=this autosave=true id=makeUniqueID

    1热度

    1回答

    我从collection2更新为[email protected]。删除了流星包​​并添加了NPM版本simpl-schema。我正在使用aldeed:[email protected] 现在我的模式中的autoform字段不起作用。 我该怎么办? 这是我的架构: Articulos.schema = new SimpleSchema({ _id: { type: String

    0热度

    2回答

    我想添加一个对象到一个对象数组,这是一个集合项中的一个键,下面的代码,但我得到一个奇怪的响应“插入失败:错误:标题是必需的“。我在流星上使用简单的模式/ autoform。 有没有人遇到过这个(并有一个解决方案)? Template.dashboard.events({ 'click .requestinvite'(e,t) { Posts.insert({ _id : $(e