Preview Custom Primitive Data In Material Editor

You can set the Const Default Value of the PerInstanceCustomData node and it will reflect in the preview.