WATCH LIVE at 1:30 p.m.: Bernie Sanders speaks during visit to Greensboro

HB2 becomes a presidential topic, candidates speak out

This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

The debate over North Carolina's controversial House Bill 2, also known as the "bathroom bill," has become a topic of discussion for the presidential candidates.

In an interview with Matt Lauer, Donald Trump said the state’s passage of the law, which requires people to use the bathroom that coincides with the gender listed on their birth certificate, was “very strong.”

He said the law should be left as it was because “there has been so little trouble.”

Lauer also asked, “So if Caitlyn Jenner walked into Trump Tower and want to use the bathroom you would be fine with her using any bathroom she chooses?”

To that, Trump replied, “that is correct.”

Ted Cruz cast the response as proof that Trump isn’t committed to protecting religious rights.

The Texas senator has made protecting religious liberty central to his presidential bid, labeled Trump’s comments as “a stark illustration” of why conservatives in the state, which votes next Tuesday, shouldn’t trust him.

“He thought that men should be able to go into the girls’ bathrooms if they want to,” Cruz said here to building applause. “Grown adult men — strangers — should not be alone in a bathroom with little girls. And that’s not conservative. That’s not Republican or Democrat. That’s basic common sense.”

Cruz then turned it on Trump, who has promised audiences that he could tone down his brash demeanor and act more presidential.

“I guess he’s showing us what that looked like,” Cruz said. “I am waiting with anticipation for the new baseball caps: 'Make PC Great Again.'”

Ohio Gov. John Kasich said on April 10 that he would “probably not” have signed the law.

Both Bernie Sanders and Hillary Clinton have spoken out against the law.

On March 24, Sanders tweeted, "It's time to end discrimination based on sexual orientation and gender identity. This law has no place in America."

Clinton tweeted the same day, "LGBT people should be protected from discrimination under the law -- period."

CNN contributed to this report. 

Notice: you are using an outdated browser. Microsoft does not recommend using IE as your default browser. Some features on this website, like video and images, might not work properly. For the best experience, please upgrade your browser.