ignacy130 / yadmin

A complete admin dashboard solution
https://atmospherejs.com/ignacy130/yadmin
GNU General Public License v3.0
11 stars 2 forks source link

Invalid definition for content field. #1

Open Kirpich634 opened 7 years ago

Kirpich634 commented 7 years ago

Replace Collection2 by aldeed:collection2-core. Add in the dependency: session, bcrypt, aldeed:autoform and meteor npm i --save simpl-schema

Change the code from the collection example:


import SimpleSchema from 'simpl-schema';
SimpleSchema.extendOptions(['autoform']);

Schemas = {};

Posts = new Meteor.Collection('posts');

Schemas.Posts = new SimpleSchema({
  title: {
    type: String,
    max: 60
  },
  content: {
...
ignacy130 commented 7 years ago

I was just looking into this issue - thanks for reporting! Just fixed some.

I'll look at other packages this week.

Kirpich634 commented 7 years ago

It would also be cool to remake from bootstrap 3 to bootstrap 4. Because bootstrap 3 does not support jQuery 3.x.x, And Meteor uses the latest version of jQuery so all javascript widgets in the admin panel based on the bootstrap.js do not work.

ignacy130 commented 7 years ago

@Kirpich634

  1. Did you need to add aldeed:autoform separately to main solution? It is defined as a dependency of ignacy130:yadmin package and I don't have it as a dependency package in the main solution.
  2. I'll update package dependencies with session.
  3. How did you install bcrypt? The same way as simple schema: meteor npm i -- save bcrypt ? I want to add it to the documentation.