I'm trying to remove the label in schema. Every time I set it to false it errors or does nothing.
Schema.User = new SimpleSchema({
classifications: {
type: Schema.Classification,
optional: true,
label: false
}
});
label
is a string. Either set it to a string or omit it from your schema:
Schema.User = new SimpleSchema({
classifications: {
type: Schema.Classification,
optional: true
}
});