Skip to content

TypeError: $node.attr(...).tooltip is not a function #23

@heaven7

Description

@heaven7

Hi,

i got this error with this setup

Books = new Meteor.Collection('Books')

var BookSchema = new SimpleSchema({
  title: {
    type: String,
    label: "Title",
    max: 200
  },
  content: {
    type: String,
    label: "Yet another poem",
    autoform: {
      afFieldInput: {
        type: 'summernote',
        class: 'editor', // optional
        settings: {
          height: 200
        }
      }
    }
  }
});
Books.attachSchema(BookSchema)

template

<body>
  {{#autoForm id="booksform" collection="Books" type="insert"}}
    {{> afQuickField name='title'}}
    {{> afQuickField name='content'}}
  {{/autoForm}}
</body>

packages

aldeed:autoform
aldeed:collection2
aldeed:simple-schema
mpowaga:autoform-summernote
fortawesome:fontawesome

How to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions