-
Notifications
You must be signed in to change notification settings - Fork 388
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
Added file handling in DynamicForm #1625
Conversation
Dynamic Form accessed TaxonomyFieldTypeMulti without considering sub-array "results".
Hi @GuidoZam, Thanks for this enhancement! After going through the code and the new props spec, I want to be sure of what you want to cover. If I read you PR comment, you want to provide a feature that allows to upload a file to a document library. But if I have a look at the I tried with both approaches and it seems that it's not working with the list item context. Here's what I suggest:
In all the cases, can you upade the control's documentation page to reflect the enhancement? You could add a screen / video that covers this new feature if you want to 🙂 |
Bugfix for issue 1568
Thanks @michaelmaillot for the reviews and the feedbacks. |
@GuidoZam - seems like I still can enable file upload for standard lists (not doc libs) |
@AJIXuMuK I've added a check using the contentTypeId property of the dynamicForm control, that should be enough to restrict the usage only to document libraries. |
Hi @GuidoZam, thanks for the update! I've made some comments as a review. Sorry to insist but could you please update the DynamicForm's documentation page in order to reflect the new props added in this PR? Feel free to insert screens / gifs or not. |
Hi @michaelmaillot, sorry for the delay, I'll have a look at your reviews and update the documentation in the next days. |
Hi @michaelmaillot I've made some improvements, can you please check if now it's all good? |
Hi @GuidoZam, Sounds good to me! Can you just resolve the remaining conflict before I merge your PR please? Edit: I just saw that there was a tiny update to do on the DynamicForm doc page, which I've pointed out. |
Hi @michaelmaillot, I've resolved the remaining conflict. |
I've mentioned you in the review comment here |
@michaelmaillot sorry but I can't see any comment there, if I click on the link you inserted it just select the row 62 of the DynamicForm.md file. |
Nevermind, forgot to submit my review.........🤦♂️ Sorry about that. |
No problem, I've resolved the change request. |
PR merged, thank you for your patience and your work @GuidoZam! |
What's in this Pull Request?
Added the possibility to choose the file to be uploaded to the document library.