Field label SPA
Closed this issue · 3 comments
alaaomri commented
I can't add a label to my fields in a SPA App using React.
is there any method to custom labels?
s-yagues commented
alaaomri commented
Hi @s-yagues,
Thank you for the response.
This is my object config s KR.setFormConfig({
formToken: token,
spaMode: true,
"kr-placeholder-pan": "16 chiffres",
"kr-placeholder-expiry": "MM/AA",
"kr-placeholder-security-code": "3 chiffres",
'kr-label-pan': 'Num carte',
'kr-label-expiry': 'date expiration',
'kr-label-security-code': 'CVV',
}) and is not applicable.
I have the placeholder shown but not the labels
Is there any method to use them both ?