From a professional standpoint, put a non dimmable light on a dimmer switch is not recommended.
At best, the bulb will not dimming properly. Dimmable leds have special circuitry inside that enables them to respond to changing current levels, or "pulsed" current waves, to produce a dimming effect. But non-adjustable leds are only designed to be fully powered on or off, which means the internal circuitry will not be able to handle low or pulse currents and will eventually be damaged.
For example, if you connect non dimming 12v 50w led driver with a 12v constant voltage led dimmer, the driver will break. And what should we do when we have a dali constant voltage dimmable LED driver? It should be put in dali dimmer.
Hence, you had better not put a non dimmable led in dimmer, but you can dimmable LED lamps within a non-dimmable circuit.