Page Autocomplete refuses to work properly if labelFieldFormat contains a hash character (#). Resulting URL gets cut off in the middle of the "get=" part, and e.g. search fields configured for field are not used at all, just the base selector:
Hash should work as expected (encoded in the URL?) or alternatively it should be stripped from request altogether to avoid this issue.
Steps to reproduce the issue
Create an autocomplete field
Configure one or more fields to use Page Auto Complete settings
Use "custom format" for labels
Use a hash in custom format, e.g. "{title} (#{id})"
Attempt to find pages using this field and check the XHR request — the request should be cut off, and search will not use the fields you configured in step 2
Short description of the issue
Page Autocomplete refuses to work properly if labelFieldFormat contains a hash character (#). Resulting URL gets cut off in the middle of the "get=" part, and e.g. search fields configured for field are not used at all, just the base selector:
Expected behavior
Hash should work as expected (encoded in the URL?) or alternatively it should be stripped from request altogether to avoid this issue.
Steps to reproduce the issue
Setup/Environment