Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 446 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 446 Bytes

Installation

Download or clone into the packages folder of your Meteor project. Then run:

meteor add rova:autoform-checkbox-fix

Usage

You can apply it directly in your template:

{{> afFieldInput name='checkboxFieldName' type='checkbox-fix'}}

You can also specify it at the schema level:

MySchema = new SimpleSchema({
  checkboxFieldName: {
    type: Boolean
    autoform: {
      type: 'checkbox-fix'
    }
  }
});