These are the form types that come with the Material UI package. If you need more or you don't use Material UI go to Custom Input Types.
To use this types, set { mrf: { type: 'choosen-type' } } in the field schema.
#### checkbox
Simple checkbox field.
Allowed types: Boolean.
#### date-picker
Material UI Date picker.
Allowed types: Date.
Options:
minDate:DateOptional. Minimum date for the picker.maxDate:DateOptional. Maximum date for the picker.formatDate:FunctionOptional. Takes the date as a parameters and must return a string.
#### multiple-checkbox
Select multiple values with checkboxes.
Allowed types: [String]``````[Number].
Options:
options: . The options for the checkbox. Each item must havelabelandvalue.
#### select-with-method
A select input that connects to a Meteor Method to fetch data.
Allowed types: String``````Number``````[String]``````[Number].
Options:
multi:BooleanOptional. Allow to select multiple itemsmethodName: . Meteor method that recieves the search string and returns an array of items withlabelandvalue.labelMethodName: . Meteor method that recieves the value and must return the label. Ifmultiis set to true, it will recieve an array and it must return an with the labels in the same order.connection:AnyOptional. A Meteor connection.throttleTime:NumberOptional. Minimum time between 2 calls tomethodName. Defaults to 200.
#### text
Simple checkbox field.
Allowed types: Any.
Options:
type:StringOptional. Input type, it can be email, password, etc.
#### textarea
Textarea
Allowed types: String.