its good you dint sign any contract..

i think you can apply to that new opportunity..

you have not violated any law.. its your employer who violated some laws..