22 mos is very young to really understand completely the full concept of potty training. Her body truly has to be ready to hold it for long periods of time. If she is having even a few accidents when he isn't there, her bladder just may not be ready with the connection to her brain. Make sure before he gets home she has emptied her bladder too. She could be holding it because she wants to be with him, kids do that in playing too where they don't want to stop playing to go to the potty Not that she doesn't understand the potty thing, all she is focusing on cause and effect.
I would have your husband take her to the potty as often as he can when he is home too. Establishing to her that daddy is happy when she goes on the potty.
I suggest him reading to her, really giving her focus right when he gets home, playing a game with her or just giving her undivided attention. It is hard I know because he is probably tired and wants to relax Then when she pees on the floor in front of him to not have any interaction with her at all. He may just need to clean it up, but no dialogue. When he is home he needs to focus on her and if there is negative behavior to walk away from her. If she is truly doing this for attention she will get it soon.
He needs to really praise her when she goes on the potty, even you calling him at work when she does so it reenforces the good for her to hear daddy's excitement.
Do a sticker chart and when daddy gets home have her show him how often she went on the potty and have him really show how proud he is of her. Good luck, it won't last forever and be patient. She is very young.