microsoft / microsoft/azure-devops-extension-sdk
is possible to make a field required using extension?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 159
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
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:
Thank you in advance :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the SDK APIs around workItemService.setError and the extension documentation for field validation or required-field indicators. Done would be a clearly scoped, supported way to mark a field as required and show the missing-field indication, or a documented confirmation that the SDK does not provide it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100