mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
Ladybird+LibWeb+WebContent: Parse the <input type=file> accept attribute
This parses the accept attribute value for file input types and passes it along to the browser chromes.
This commit is contained in:
parent
e4213f5767
commit
6760d236e4
20 changed files with 267 additions and 24 deletions
|
@ -556,7 +556,7 @@ Tab::Tab(BrowserWindow& window)
|
|||
m_dialog = nullptr;
|
||||
};
|
||||
|
||||
view().on_request_file_picker = [this](auto allow_multiple_files) {
|
||||
view().on_request_file_picker = [this](auto const&, auto allow_multiple_files) {
|
||||
// FIXME: GUI::FilePicker does not allow selecting multiple files at once.
|
||||
(void)allow_multiple_files;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue