Replace p:inputSwitch with p:toggleSwitch
ProprietaryReplace the p:inputSwitch that PrimeFaces 15 removed with p:toggleSwitch, keeping the page's prefix. onLabel, offLabel and showLabels have no counterpart, so they are dropped with a warning on the tag.
io. moderne. java. primefaces. ReplaceInputSwitchWithToggleSwitchmod run . --recipe= io. moderne. java. primefaces. ReplaceInputSwitchWithToggleSwitchInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.