Skip to content

Commit 4e8f894

Browse files
committed
Fixes setting form customizer list from to root site. Closes #460 (#469)
## 🎯 Aim Fixes setting form customizer list from to root site ## 📷 Result ![image](https://github.com/user-attachments/assets/43589c65-b3f2-456a-918a-34d33fb243b7) ![image](https://github.com/user-attachments/assets/89a2531e-81ea-4b91-b804-dd4fefbe1f35) ## ✅ What was done - [X] Updated URL validation ## 🔗 Related issue Closes: #460
1 parent ef71af2 commit 4e8f894

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/services/actions/CliActions.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,12 +1027,8 @@ export class CliActions {
10271027
const relativeUrl = await window.showInputBox({
10281028
prompt: 'Enter the relative URL of the site',
10291029
ignoreFocusOut: true,
1030-
placeHolder: 'e.g., sites/sales',
1030+
placeHolder: 'e.g., sites/sales or leave blank for root site',
10311031
validateInput: (input) => {
1032-
if (!input) {
1033-
return 'site URL is required';
1034-
}
1035-
10361032
const trimmedInput = input.trim();
10371033

10381034
if (trimmedInput.startsWith('https://')) {

0 commit comments

Comments
 (0)