Hi Abdul,
This should be fixed by Mendix in the source code, so I’d suggest to create a ticket at Support to let them know it is not working as expected.
The intermediate solution you can take is add an extra input field and then with CSS hide the input field itself but not the validation message it shows.
Hope this helps.
Kind regards, Jurre