I've been fiddling around with this all day and have made no progress. I'm returning an object with the following structure:
public class FileResponse {
public FilesystemFile Cwd { get; set; }
public List<FilesystemFile> Files { get; set; }
public FileError Error { get; set; }
public FilesystemFile Details { get; set; }
}
public class FilesystemFile
{
public string Name { get; set; }
public string DateCreated { get; set; }
public string DateModified { get; set; }
public string FilterPath { get; set; }
public bool HasChild { get; set; }
public bool IsFile { get; set; }
public int Size { get; set; }
public string Type { get; set; }
public bool MultipleFiles { get; set; }
}
But I am given the console error: 'Uncaught TypeError: Cannot read property 'code' of undefined' and the view looks like the following:
I really think you should include at least one backend example. It doesn't have to be asp, could be anything.