Hiding one case of a choice with tail:hidden is not working

I could not able to hide the A3 case alone with the help of tailf:hidden debug;
Does it need to update any handler to achieve the functionality of hiding A3 leaf case alone.

choice src {
    mandatory true;
    case A1{
      leaf A1 {
        type cn-types:cn-filename;
        tailf:info "A1";
        mandatory true;
      }
    }
    case A2 {
      leaf A2{
        type empty;
        tailf:info "A2";
        mandatory false;
      }
    }
    case A3 {
      leaf A3 {
        tailf:hidden debug;
        type cn-types:cn-filename;
        tailf:info "A3";
      }
  }
}

Appreciate any help in this regard. Thanks in advance.

What exactly is not working for you? Statement tailf:hidden debug should cause that the case A3 is not accessible in CLI or WebUI, do you see something different?

Hi Martin,
Even after adding the tailf:hidden debug, i could still see the A3 command in cli.
This is for choice case alone and for regular Cli commands " tailf:hidden debug" is working fine and i want to understand why this hidden tag is not working for Choices case, Any reference to explore this issue would be great to proceed further.