Custom Label field not available for MaxBucket aggregation

any updates on that issue? I am facing a similar issue and I just found your answer and it must be a regression issue. I tested the same thing on Kibana 6.4.0 and there is a custom label field that doesn't exist on Kibana 7.7.1