sp-dev-fx-controls-react
sp-dev-fx-controls-react copied to clipboard
[Dynamic Form] Not handling mandatory Lookup fields well
Category
[ ] Enhancement [X] Bug [ ] Question
Version
3.20.0
Expected / Desired Behavior / Question
When wanted to save a form that has mandatory Lookup fields, and if the fields are blank, or empty, the form should not save.
Observed Behavior
When saving a form that has mandatory Lookup fields, the form will save even those fields are empty or blank
Steps to Reproduce
Create any SPO List Add at least one Mandatory Lookup Field Render the dynamic form in "New" status Fill other fields and leave blank the mandatory lookup
Related Fixes:
#1760 & #1775
Screenshots:
When saving the Item:
When saved:
Tagging @GuidoZam for assignment
Hi @michaelmaillot maybe you've missed it but I've already opened a PR for this 😊
Hi @GuidoZam,
Definitely saw you were on this one 😉
But I don't know why, I couldn't assign the issue to you, until you've commented it. Anyway, it's done!