ref #7223 implementing adaptive field visibility for ReferenceEditor