$getAction() and visibility

When using ->registerActions() on a Form or Infolist component, it seems that visible() and hidden() no longer apply when you use
{{ $getAction('setMaximum') }}
to place the action. That causes a log of headaches. No way for that to be respected?
Was this page helpful?