Choice with space not shown
I am working <choices> that takes the following structure: <CHOICES> <CHOICE>New</CHOICE> <CHOICE>Ready for staffing</CHOICE> <CHOICE>Draft</CHOICE> <CHOICE>Approved </CHOICE> <CHOICE>Rejected</CHOICE> <CHOICE>Completed</CHOICE> </CHOICES>
When I debug my app, the choice with space (<CHOICE>Ready for staffing</CHOICE>) is not shown. I have tried double and single quotes with the same result. Running Visual Studio 2019, against latest version of SharePoint.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 83792d77-9975-fcaf-1869-4e21b47f7d83
- Version Independent ID: 7977c542-e1ea-9064-e046-1a64ba65aaa3
- Content: CHOICE element (List)
- Content Source: docs/schema/choice-element-list.md
- Product: office-online-server
- GitHub Login: @spdevdocs
- Microsoft Alias: spdevdocs
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
If you want to create choice field in custom list in SharePoint add-in, the field Schema like below.
<Field Name="ChoiceField" ID="{cf2d0af1-2f4d-4284-b630-813159ed08ef}" DisplayName="ChoiceField" Type="Choice">
<CHOICES>
<CHOICE>New</CHOICE>
<CHOICE>Ready for staffing</CHOICE>
<CHOICE>Draft</CHOICE>
<CHOICE>Approved </CHOICE>
<CHOICE>Rejected</CHOICE>
<CHOICE>Completed</CHOICE>
</CHOICES>
</Field>

You can create a new choice field and add choices with space in the UI to check if it works.
Closing issue as "answered". If you encounter similar issue(s), please open up a NEW issue. Thank you.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues