Material picker doesn’t allow for such customization.
One available workaround is that you can build material picking functionality based on ‘Hide in views’ function available in the ‘Objects’ tab. Instead of replacing material, you can hide an object with one material and show an object with a new material. Then, you can use any trigger in a scene (your custom objects can also be triggers) to switch to a view that shows an object with a desired material and hides other versions of the object.
I’m sorry, I don’t really understand this part.
Does that mean you have multiple identical objects stacked in the same place?
For example, if you want to switch and display 3 patterns of materials, place 3 objects and paste another material to switch the display / non-display of View.
At this time, set the View to be displayed on the object.
I understand the view hiding settings and the Change view on the Viewer tab.
Sorry to trouble you, but we are looking forward to hearing from you.