Tag Archives: ThymeLeaf

ThymeLeaf – Disable control dynamically

We face a common scenario to display a control active or disabled on UI depending on model (Spring MVC) attributes. There are few examples to perform this in ThymeLeaf . After some googling and going through ThymeLeaf documentation we found two different ways to perform this. Make two HTML controls The code snippet below displays… Read More »