I installed 14-2 romex for a low voltage 24volt / 300watt light fixture.
Romex is rated at 600v / 15amp / 1750watts. I've done this in the past without problems. Is there anything wrong with this application.
For a continuous load I would say no. You're limited to 15 amps maximum by 240.4(D).
Switchleg to light fixture is 20 feet total
Overcurrent protection on the secondary of the transformer? Primary?