https://github.com/normalhuman01/orion-rut-input
a rut input for orion
https://github.com/normalhuman01/orion-rut-input
Last synced: about 1 year ago
JSON representation
a rut input for orion
- Host: GitHub
- URL: https://github.com/normalhuman01/orion-rut-input
- Owner: normalhuman01
- License: mit
- Created: 2023-12-18T22:36:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T22:39:40.000Z (over 2 years ago)
- Last Synced: 2025-02-01T12:45:27.929Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Orion Rut Input
===============
```sh
meteor add nicolaslopezj:orion-rut-input
```
Rut input for Orion.
**Only for Chile**
> Usage: Simply add the field to your schema
```js
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.