Fixed #20523 - Incorrect form field for FilePathField.

Thanks sane4ka.sh@ for the report.