I am using ng-pattern="/^(?=.*\\d).{6,20}$/"
for validating .
(Minimum 6 and maximum 20 characters. Must have at least one number)
It is working in other browsers except Safari .
I google it but no idea how to resolve this issue .
Please suggest .
因为ng-pattern只是Safari不支持的HTML模式的Angular包装器: 如W3C学校中所述
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.