Although I haven’t tested that case, my recommendation is in the onclick event. Delete the control and then re-add it with a new list item id.
Put the control within the if condition as an example. If the condition is false, the control will be deleted. If the condition is true, the control will be set with a new list item id. it is just workaround suggestions
I’ll test this scenario and fix this issue in the control.
This control was created by me, and a member of the PnP community added the fieldOverrides attribute. I’ll thus check this when I have some spare time, maybe this weekend, and let you know.
dynamic forms use in web part or form Form Customizer extension in SharePoint online
LikeLike
web part
LikeLike
Can you change the ListItemId via onclick event ?
I dont see the form refresh automatically
LikeLike
Hi Murtuza,
Although I haven’t tested that case, my recommendation is in the onclick event. Delete the control and then re-add it with a new list item id.
Put the control within the if condition as an example. If the condition is false, the control will be deleted. If the condition is true, the control will be set with a new list item id. it is just workaround suggestions
I’ll test this scenario and fix this issue in the control.
LikeLike
Hi, can you add an example for fieldOverrides paramter? I am facing issues while passing internalname and custom function
fieldOverrides={{[“BrandUpdateOwner”]: peoplePicker}}
this throws an error
LikeLike
Hi Amit,
This control was created by me, and a member of the PnP community added the fieldOverrides attribute. I’ll thus check this when I have some spare time, maybe this weekend, and let you know.
LikeLike