1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-24 15:23:11 +02:00

Add fix for issue processwire/processwire-issues#584 allow quotes in InputfieldPageAutocomplete selectors

This commit is contained in:
Ryan Cramer
2018-05-08 05:43:24 -04:00
parent ebe163452d
commit a3d2a447a9

View File

@@ -195,7 +195,7 @@ class InputfieldPageAutocomplete extends Inputfield implements InputfieldHasArra
$attrs =
"data-max='$max' " .
"data-url='$url' " .
"data-url='" . $this->wire('sanitizer')->entities($url) . "' " .
"data-label='" . $this->wire('sanitizer')->entities($labelField) . "' " .
"data-search='$searchField' " .
"data-operator='$operator'";