Set mandatory for uploadfile

I have made mandatory for uploadfile and label(inputwidget) but in browser it is still not required( red star)

thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.