From the information provided in the question, we can only conclude that something broke. Check dashboard fuses.
It sounds like there may be an issue with the dashboard dimmer switch or a fault in the vehicle's electrical system. Since the panel lights initially work but then shut off, there could be a loose connection or a failing component in the dashboard lighting circuit. Additionally, check for blown fuses related to the dashboard lights. If the problem persists, it may be best to consult a professional mechanic for further diagnosis.
If ALL dash lights don't work turn the headlamp knob clock wise or counter clock wise. If that isn't it check for blown fuse. If all fuses are good, replace headlamp switch.
Acura dashboard light don't work
94 mercury grand marque dashboard, hazard, and tail lights do not work?
Honda dashboard lights are powered by a single fuse. The taillight fuse keeps the dashboard, taillights and hazard lights safe. If any of this units cause a short all of the components will not work.
If the Ford Galaxy dashboard lights don't work, there could be a problem with the fuses. There is also a possibility that a bulb is burned out or there is a short in the wiring.
did you check the fuse?
Do parking and taillights work? If not check fuse--common circuit
broken circit in your light switch
A blown fuse can make your dashboard lights to not work in your 1993 Chevy Blazer Tahoe. A burned out bulb can also cause this.
If all of the dashboard lights do not work at the same time on a Pontiac Montana, check the instrument panel relay. The relay is located on the firewall in the engine compartment.