AndrewButenko / DependentOptionset_PCF

Dependent Optionset PCF
MIT License
5 stars 5 forks source link

Field not Locked on Closed Records #7

Open PeteW-S365 opened 4 years ago

PeteW-S365 commented 4 years ago

Hi,

I've implemented the dependent option set PCF, as this gives the clearly missing functionality back into Dynamics 365 & Power Platform.

However, I've noticed that the field doesn't lock based on the records status. For example used on an Opportunity Form any user can edit the value of the field with the control applied when the Opportunity is in a Won/Lost state.

I've implemented a workaround using an RT Workflow to cancel with an error should that field change and the status not equal Open. However, if it could be locked on closed records that would be great.

Thanks

Peter

AndrewButenko commented 4 years ago

Hello Pete, Keep an eye on https://github.com/AndrewButenko/ABControlsToolkit - I plan to include dependent optionset there with the updated layout and control over form state. Andrew