styles: {disableDefaultStyles: true,css: {"button[type='submit']": {'background-color': '#d72d2d','border-color': '#d72d2d',},},}
true
.styles: {disableDefaultStyles: true,css: {// Custom styles},},
true
.styles: {disableDefaultStyles: true,css: {"input.invalid": {"border-color": "#335bff"}},}
cardForm.on("fieldValidityChange", ({ field, ValidationError }) => {});
{"field": "cardNumber","validationError": "Card number must contain numbers only"}
undefined
for the validationError field.