Fixed #21201 -- Improved customization of ClearableFileInput.
Fixed flake8 warning.