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