tcomb-form-native

    0熱度

    1回答

    我跟着File upload example和this example我現在可以將文件上傳到s3。但是當涉及到編輯或替換該文件時,我應該如何處理該文件。 const CustomFile = t.irreducible('File', x => x instanceof File); // MyModel const BusinessModel = t.struct({ logo:

    0熱度

    1回答

    我在表單中使用了Tcomb Form Native,並在選項中放置了佔位符的自動標記。不過,我想改變顯示文字的樣式。有沒有可能改變這一點? var options = { auto: 'placeholders', };

    0熱度

    1回答

    是否有向React Native的tcomb-form-native添加掩碼的示例? 如何創建自定義模板來處理此問題? https://github.com/gcanti/tcomb-form-native/issues/274

    1熱度

    1回答

    我使用tcomb在react-native建立一個形式,我的表單字段是birthDate: t.maybe(t.Date),但它似乎沒有風格 const formRegistration = t.struct({ // other fields birthDate: t.maybe(t.Date) }); 我有還增加了config下來options: const opti

    0熱度

    1回答

    我使用tcomb-form-native(https://github.com/gcanti/tcomb-form-native)模塊在React Native中製作表單。該模塊提供了一個布爾類型的輸入,它呈現一個Switch組件(https://facebook.github.io/react-native/docs/switch.html)。 現在,我想它的樣式,所以交換機是這樣的: 我不知道

    0熱度

    1回答

    如何使用tcomb-form-native庫驗證我的confirmPassword字段? 電子郵件和密碼字段是相當微不足道的,我不知道如何比較模型中的另一個字段的現有值。 這是我的代碼。 const Email = t.refinement(t.String, (email) => { const reg = /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0

    0熱度

    1回答

    我想在我的react-native(機器人)的應用程序使用tcomb-form-native機錯誤,但我收到此錯誤信息:undefined is not an object (evaluating '_react.PropTypes.string')反應本土 我用下面的命令進行安裝tcomb外形本地: npm install tcomb-form-native npm install tcomb