leaonline:autoform-regexp

v1.0.0Published 4 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meteor AutoForm RegExp

Allows to edit RegExp as AutoForm input.

Installation and usage

Install this package via

$ meteor add jkuester:autoform-regexp

Install theme (optional)

This package uses a Bootstrap 4 theme, which is supported by the following packages:

  • for AutoForm <=6.3.0 use imajus:autoform-bootstrap4
  • for AutoForm >=7.0.0 use communitypackages:autoform-bootstrap4

However, the theme is optional and the package will work also without a BS4 theme.

Import required

This package needs to be imported manually before being used! It is not added to the client automatically in order to reduce initial bundle size.

1import { AutoFormRegexp } from 'meteor/jkuester:autoform-regexp'

The AutoFormRegexp Object reveals some internals and allows you to make some global configurations here:

1// AutoFormRegexp
2{
3  name: 'regexp' // to be used as type for the field
4}