Uncaught TypeError

Uncaught TypeError: txt.replace is not a function
I have that error when i open the doctype list, how can i solve it?

Hi,

can you please share the full traceback from the browser’s console ?

Thanks, Makarand

it was
desk.min.js:689 Uncaught TypeError: txt.replace is not a function
at strip_html (desk.min.js:689)
at Class.prepare_data (list.min.js:218)
at Class.render (list.min.js:207)
at Class.render_row (list.min.js:138)
at Class.render_rows_List (list.min.js:132)
at Class.render_rows (list.min.js:131)
at Class.render_list (list.min.js:28)
at Class.render_results (list.min.js:26)
at Object.callback (list.min.js:15)
at Object.callback [as success_callback] (desk.min.js:130)

@MaysaaSafadi,

For which DocType you are getting this error ??

Try changing the title field for that DocType then reload and check the List View.

Thanks, Makarand

1 Like

it is work now :slight_smile:
thank u