'search' appearance doesn't work in combination with another appearance that contains hyphen dash
- Dominant language
- JavaScript
- Stars
- 226
- Forks
- 235
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 19
Description
Related forum post: https://forum.getodk.org/t/how-to-add-multiple-language-labels-in-csv-files-for-select-one-type-and-search/45685/3
If appearance value is "search('file.csv') columns-2" then Central is unable to detect that 'file.csv' is expected Form attachment, hence attachment tab doesn't appear.
Sample Form: [Search_and_select.xlsx](https://github.com/user-attachments/files/18873660/Search_and_select.xlsx)
Failing unit test:
```
it('should detect primitive search() appearances', () => {
const xml = `
`;
return expectedFormAttachments(xml).then((attachments) => {
attachments.should.eql([
{ type: 'file', name: 'filesix.csv' },
]);
});
});
```
I originally thought that it's pyxform issue but it is Central that determines the list of attachment for a Form. I think this is something that Central can offload to Web Form engine.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.