Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui5-file-uploader): initial implementation #1199

Closed
wants to merge 13 commits into from
Closed

Conversation

fifoosid
Copy link
Contributor

No description provided.

packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It`s better to finish the component in petar's pr

packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
packages/main/src/features/InputElementsFormSupport.js Outdated Show resolved Hide resolved

if (needsNativeInput && !nativeInput) {
nativeInput = document.createElement("input");
nativeInput.type = element._type;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcode this (and ._type will be unnecessary in the FileUploader.js then)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not a good idea to hardcode it, because it is used as well on line 31.

packages/main/src/themes/FileUploader.css Outdated Show resolved Hide resolved
Copy link
Contributor

@vladitasev vladitasev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All samples with icon do nothing

packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
packages/main/src/FileUploader.js Show resolved Hide resolved
packages/main/src/FileUploader.js Outdated Show resolved Hide resolved
packages/main/src/themes/FileUploader.css Outdated Show resolved Hide resolved
@fifoosid
Copy link
Contributor Author

Closing this PR, because the original one will be merged #1184

@fifoosid fifoosid closed this Feb 14, 2020
@fifoosid fifoosid deleted the file-uploader branch February 14, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants