From 8303efd303ab7832e418686728ee56623db2c6ae Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Sun, 14 Aug 2022 10:09:10 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#1605 --- wire/modules/Inputfield/InputfieldPage/InputfieldPage.js | 5 +++-- wire/modules/Inputfield/InputfieldPage/InputfieldPage.min.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wire/modules/Inputfield/InputfieldPage/InputfieldPage.js b/wire/modules/Inputfield/InputfieldPage/InputfieldPage.js index 23a11492..e30c3ea5 100644 --- a/wire/modules/Inputfield/InputfieldPage/InputfieldPage.js +++ b/wire/modules/Inputfield/InputfieldPage/InputfieldPage.js @@ -54,6 +54,7 @@ function initInputfieldPageDependentSelects($inputfieldPage) { selector = selector.replace(part, '=' + v); selector = selector.replace(/,\s*/g, '&'); + selector = selector.replace(/\./g, '-'); if(selector.indexOf('_LPID')) selector = selector.replace(/_LPID[0-9]+/g, ''); @@ -85,7 +86,7 @@ function initInputfieldPageDependentSelects($inputfieldPage) { if(!label.length) label = page.name; // create "); + $option = $("