Skip to content

nicolaslopezj/orion-rut-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orion Rut Input

meteor add nicolaslopezj:orion-rut-input

Rut input for Orion.

Only for Chile

Usage: Simply add the field to your schema

import numeral from 'numeral'

// Example
myCollection.attachSchema(new SimpleSchema({
  rut: orion.attribute('rut', {
    label: 'RUT',
    optional: true
  }, {
    numeral: numeral
  }),
}));

From version 2, numeral must be passed as an option.