microsoft / azure-devops-extension-sdk

Client SDK for developing Azure DevOps extensions
MIT License
122 stars 38 forks source link

is possible to make a field required using extension? #101

Open AlexandreGielowPhilips opened 5 months ago

AlexandreGielowPhilips commented 5 months ago

Is there a way to make a field required using the SDK? We could make the form don't allow to save the work item and put a message on top of the form based on some conditions: this.workItemService.setError(Field '${requiredFieldFound[0].name}' cannot be empty.);

but we could not make the field itself present the indication that the information is missing, like work on the default rules like this "account name rigth side red circle: image

Thank you in advance :)