Can't add a new Raw File device to a virtual machine

After creating a virtual machine I am trying to add a Raw File device to the VM. However, when using the Add Device UI and specifying a path to create the file I get the error “Path must exist when “exists” is set.” However, there isn’t any field in the UI called “exists” and the “info” popup says “Browse to a storage location and add the name of the new raw file on the end of the path.” This implies to me that the path I specify should not exist because it is going to create a new file.

Is this a bug that needs to be fixed or am I doing something wrong?

TrueNAS-SCALE-23.10.2

I believe the TrueNAS ui will only allow you to add zvols as disk devices.

You could write the raw file to a zvol using dd