_mercury – 20-18 Jul 13

I have a field like this labels: { 'EN-US': 'htruu', 'AR-EG': 'rtuiui' }, Like this How to validate it through YUP?
M
_mercury645d ago
I want to validate both keys and values There’s no names for the objects
D
dfg645d ago
those are language tags from RFC5646 you can see here for a whole list of them https://gist.github.com/msikma/8912e62ed866778ff8cd
M
_mercury645d ago
yes but the problem is , i don’t find yup validation for key/value onject whereas key/value without names … my data is like a dictionary or associative array
UU
Unknown User644d ago