I am trying to fetch data from doctype as like frappe ui documentation. But I get an error. How can I solve it?
Error Screenshot:
Code screenshot:
I am trying to fetch data from doctype as like frappe ui documentation. But I get an error. How can I solve it?
Error Screenshot:
Code screenshot:
Solution is
todos.reload()
Raise a question in my mind, why frappe ui documentation use todos.fetch()
Good catch, there was no fetch
method on listResource. Added fetch
as alias to resource (PR) as it is has better readability.
Is it possible to edit this line in frappe ui documentation. I think, many people will do the same mistake.
And in discuss, there is no category about frappe ui. Is it possible to create this topic?
Updating docs isn’t required now.
But if in future you want to contribute some edit, the docs are in the source code itself.
Sure, we can do this.