Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid definition for content field. #1

Open
Kirpich634 opened this issue Sep 9, 2017 · 3 comments
Open

Invalid definition for content field. #1

Kirpich634 opened this issue Sep 9, 2017 · 3 comments
Assignees

Comments

@Kirpich634
Copy link

Kirpich634 commented Sep 9, 2017

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
Copy link
Owner

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

I'll look at other packages this week.

@ignacy130 ignacy130 self-assigned this Sep 10, 2017
@Kirpich634
Copy link
Author

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
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants