You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement autonomous custom element that replicates HTMLInputElement interface
The custom element now:
- Creates its own file picker UI with a button and file name display
- Implements all HTMLInputElement properties (files, name, value, validity, etc.)
- Uses ElementInternals for form participation when available
- Provides validation methods (setCustomValidity, reportValidity, checkValidity)
- Shows current file value for ClearableFileInput compatibility
- All JavaScript and non-Selenium Python tests pass
Note: Selenium tests need updating as the hidden input is now created dynamically by the custom element's JavaScript.
Co-authored-by: codingjoe <1772890+codingjoe@users.noreply.github.com>
0 commit comments