I've also come to expect that I'm going to give a candidate a pay range as well. It is one of the first things I do when trying to on board because if they can't afford to live on the range I'm telling them then I don't want to waste either of our time on discussing a position they can't live on. I'm pretty upfront about this because the worst thing an employee working for me can do is have to start budgeting a lot and be resentful about it.
In my mind this law can really hinder that conversation. I like giving a range and asking a candidate if they can deal with that, but it's really nice when a candidate is secure enough to tell me what they are worth up front as well. I would also recommend against giving anyone a fixed value always always give a range.