Adding a confirm:text to a leaf in yang

Can tailf:confirm-text be used inside a leaf or input { } ?

container a{

tailf:action do
{

         input{
                      leaf reboot{}
 
             }

  }

}

So, if i perform action “do” i need a confirm text, and if i give “do reboot” i need another confirm text to differentiate the actions.

The ConfD user guide specifies confirm-text can be used only as sub-statement of

rpc, action, and tailf:action

Not sub-statement of input or leaf.

Solution may be to create seprate action for reboot