Number as header value throws replace error
-
If the header values are numbers the admin throws a error when trying to display the data.
input-v5.js?ver=1.0.5:327 Uncaught TypeError: p.data.h[i].c.replace is not a function
Not a good solution but I fixed it by forcing the value to be a string
String(p.data.h[ i ].c).replacehttps://ww.wp.xz.cn/plugins/advanced-custom-fields-table-field/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Number as header value throws replace error’ is closed to new replies.