Could I make input with pattern but not required?

{ view:“text”, name:“phone”, label:“Phone”, pattern:"###-## ########"}, could this be with pattern or empty?

Finally I found a solution! It’s not perfect, but works for me!
Just put the property validate on element creation:
validate: function(val){
return true;
}

Like:
{
view: “text”,
label: “Label”,
pattern: {
mask:"##/##/####",
allow:/[0-9]/g
},
validate: function(val){
return true;
}
}

1 Like

validate: (val => true) // short but the same

thnx!