Short description of the issue
The PageAutocomplete inputfield shows (and allows selection of) pages that are disallowed by the custom selector defined for the field.
This is my custom selector...
id!=page.id
...and the current page is still selectable in the inputfield.
Expected behavior
Inputfield does not show pages that are disallowed by custom selector.
Actual behavior
Inputfield shows and allows selection of the disallowed page. When the page is saved there is no warning, but the value of the disallowed page is not stored in the field.
Steps to reproduce the issue
- Create Page field using PageAutocomplete inputfield, with custom selector set to
id!=page.id
- In Edit Page, try selecting the current page in the PageAutocomplete inputfield.
Setup/Environment
- ProcessWire version: 3.0.35
- PHP version: 7
Short description of the issue
The PageAutocomplete inputfield shows (and allows selection of) pages that are disallowed by the custom selector defined for the field.
This is my custom selector...
id!=page.id...and the current page is still selectable in the inputfield.
Expected behavior
Inputfield does not show pages that are disallowed by custom selector.
Actual behavior
Inputfield shows and allows selection of the disallowed page. When the page is saved there is no warning, but the value of the disallowed page is not stored in the field.
Steps to reproduce the issue
id!=page.idSetup/Environment