Are u sure setValue is working correctly? When I have sms. like 38(###) ###

Are u sure setValue is working correctly? When I have sms. like 38(###) ###-##-## (phone) and then type 123 456 78 90 and commits the form with a field, the field value should be '38(123) 456-78-90 but it becomes ‘38(381) 234-56-78’. Seems like a bug.