Allow templates in read only mode to support:
- tick a child checkbox to tick its parent if all other children are ticked
- tick a parent to tick all its children