Meteor AutoForm set optional field to be required
问题 I've the following (simplified) SimpleSchema: EventSchema = new SimpleSchema({ eventType: { type: String }, kicker: { type: String }, kicker2: { type: String, optional: true } }); With this I'm using AutoForm to generate a insert form. Here is a simplified version of it: {{#autoForm schema="EventSchema" type="method" meteormethod="addEvent"}} {{> afFieldInput name="eventType" options=getSubstitutionEventTypes type="select-radio-inline"}} {{> afFieldInput name="kicker" type="select" options