Я использую FormIO в Angular 7, и я не хочу отображать оповещение об опасности (первое), которое содержит «Societe est mustatoire» в моей форме, если оно недействительно.
это моя форма, объявленная в form-io.component.ts
form= {
components: [
{
type: "textfield",
input: true,
tableView: true,
inputType: "text",
inputMask: "",
label: "Societe",
key: "societe",
placeholder: "societe",
multiple: false,
defaultValue: "",
protected: false,
unique: false,
persistent: true,
validate: {
required: true,
minLength: 1,
pattern: "",
custom: "",
customPrivate: false
},
conditional: {
show: "",
when: null,
eq: ""
}
},
{
input:true,
label:"Validate",
tableView:false,
key:"ValidateFournisseur",
size:"md",
block:false,
action:"submit",
disableOnInvalid:true,
theme:"primary",
type:"button",
hidden:false
}
, и это моя форма-io.component.html
<formio [form]="form"></formio>
Любая помощь?