_mercury
_mercury3y ago

_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?
5 Replies
_mercury
_mercury3y ago
I want to validate both keys and values There’s no names for the objects
dfg
dfg3y ago
those are language tags from RFC5646 you can see here for a whole list of them https://gist.github.com/msikma/8912e62ed866778ff8cd
_mercury
_mercury3y 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
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
reactibot
reactibot3y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/996873331401838722