Fix file upload (#1540)

* fix file upload

* Update App.controller.js

* Update README.md
This commit is contained in:
oblomov-dev 2024-11-15 12:17:38 +01:00 committed by GitHub
parent 35f0cd1673
commit 3514f40a3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 8 deletions

View File

@ -56,15 +56,17 @@ This project greatly benefits from its [contributors](https://github.com/abap2UI
* Developed on an [ABAP Cloud Dev Trial 2022](https://hub.docker.com/r/sapse/abap-cloud-developer-trial) [(hosted by Nuve Platform)](https://www.nuveplatform.com/) * Developed on an [ABAP Cloud Dev Trial 2022](https://hub.docker.com/r/sapse/abap-cloud-developer-trial) [(hosted by Nuve Platform)](https://www.nuveplatform.com/)
#### What's Next? #### What's Next?
Start exploring abap2UI5:
* [Quickstart](https://abap2ui5.github.io/docs/get_started/quickstart.html) Install and get started with your first abap2UI5 app * [Quickstart](https://abap2ui5.github.io/docs/get_started/quickstart.html) Install and get started with your first abap2UI5 app
* [Samples](https://abap2ui5.github.io/docs/get_started/samples.html) Learn through hands-on examples and start building your own apps * [Guide](https://abap2ui5.github.io/docs/) - Find answers to your questions or dive deeper into the project
* [Addons](https://abap2ui5.github.io/docs/addons/addons.html) Extend abap2UI5s capabilities to fit your needs * [Addons](https://abap2ui5.github.io/docs/addons/addons.html) Extend abap2UI5s capabilities to fit your needs
* [Apps](https://abap2ui5.github.io/docs/addons/apps.html) Discover and try out abap2UI5 apps * [Apps](https://abap2ui5.github.io/docs/addons/apps.html) Discover and try out abap2UI5 apps
#### Get Involved Get involved:
* Have questions, feedback, or bugs to report? Check out the [documentation](https://abap2ui5.github.io/docs/) or create an [issue](https://github.com/abap2UI5/abap2UI5/issues) * [Issues](https://github.com/abap2UI5/abap2UI5/issues) - Report bugs or provide feedback to improve abap2UI5
* Interested in contributing? Review our [contribution guidelines](https://abap2ui5.github.io/docs/resources/contribution.html) to get started * [Contribution](https://abap2ui5.github.io/docs/resources/contribution.html) - Get started with contributing to the project
* Follow us on [LinkedIn](https://www.linkedin.com/company/abap2ui5) and consider [sponsoring](https://abap2ui5.github.io/docs/resources/sponsor.html) our dedicated developer * [LinkedIn](https://www.linkedin.com/company/abap2ui5) - Follow us for updates, insights, and community highlights
* [Sponsorship](https://abap2ui5.github.io/docs/resources/sponsor.html) - Support our dedicated developer and help drive innovation
_We welcome all contributions! Share your knowledge, hunt for bugs, submit a PR, write a comment, give us a like, or simply tell your friends about abap2UI5. This project thrives with your support! 🚀_ _We welcome all contributions! Share your knowledge, hunt for bugs, submit a PR, write a comment, give us a like, or simply tell your friends about abap2UI5. This project thrives on your support! 🚀_

View File

@ -523,7 +523,7 @@ sap.ui.define("z2ui5/FileUploader", ["sap/ui/core/Control", "sap/m/Button", "sap
style: oControl.getProperty("style"), style: oControl.getProperty("style"),
fileType: oControl.getProperty("fileType"), fileType: oControl.getProperty("fileType"),
visible: oControl.getProperty("visible"), visible: oControl.getProperty("visible"),
uploadOnChange: true, uploadOnChange: oControl.getProperty("checkDirectUpload"),
enabled: oControl.getProperty("enabled"), enabled: oControl.getProperty("enabled"),
value: oControl.getProperty("path"), value: oControl.getProperty("path"),
placeholder: oControl.getProperty("placeholder"), placeholder: oControl.getProperty("placeholder"),

View File

@ -545,7 +545,7 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
` style: oControl.getProperty("style"),` && |\n| && ` style: oControl.getProperty("style"),` && |\n| &&
` fileType: oControl.getProperty("fileType"),` && |\n| && ` fileType: oControl.getProperty("fileType"),` && |\n| &&
` visible: oControl.getProperty("visible"),` && |\n| && ` visible: oControl.getProperty("visible"),` && |\n| &&
` uploadOnChange: true,` && |\n| && ` uploadOnChange: oControl.getProperty("checkDirectUpload"),` && |\n| &&
` enabled: oControl.getProperty("enabled"),` && |\n| && ` enabled: oControl.getProperty("enabled"),` && |\n| &&
` value: oControl.getProperty("path"),` && |\n| && ` value: oControl.getProperty("path"),` && |\n| &&
` placeholder: oControl.getProperty("placeholder"),` && |\n| && ` placeholder: oControl.getProperty("placeholder"),` && |\n| &&