Add validators to project.

CURA-9793
This commit is contained in:
Joey de l'Arago 2022-11-30 16:55:04 +01:00
parent 522bf60e81
commit 487bf41a7b
4 changed files with 28 additions and 1 deletions

View file

@ -119,7 +119,7 @@ UM.Dialog
text = `#${text}`;
}
}
validator: RegularExpressionValidator { regularExpression: /^#([a-fA-F0-9]{0,6})$/ }
validator: Cura.HexColorValidator {}
}
Rectangle