Form or input required field after submission not befor

hello best community ever,

I want to dcc.input to be required but after button submit not before. I solved it by sending red border style if dcc.input is empty. However, I have dynamic inputs where I could not apply this solution to it.
If there is solution or library to help me in this I would be thankful

thanks in advance