From b4d956a99c24b312c609a23771a0105a38ced042 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Fri, 13 Nov 2020 11:44:19 +1100 Subject: [PATCH] Don't allow minLength input for url field --- .../javascripts/discourse/components/wizard-custom-field.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/components/wizard-custom-field.js.es6 b/assets/javascripts/discourse/components/wizard-custom-field.js.es6 index 55ebc338..7615fe07 100644 --- a/assets/javascripts/discourse/components/wizard-custom-field.js.es6 +++ b/assets/javascripts/discourse/components/wizard-custom-field.js.es6 @@ -21,7 +21,7 @@ export default Component.extend(UndoChanges, { showPrefill: or('isText', 'isCategory', 'isTag', 'isGroup', 'isDropdown'), showContent: or('isCategory', 'isTag', 'isGroup', 'isDropdown'), showLimit: or('isCategory', 'isTag'), - showMinLength: or('isText', 'isTextarea', 'isUrl', 'isComposer'), + showMinLength: or('isText', 'isTextarea', 'isComposer'), categoryPropertyTypes: selectKitContent(['id', 'slug']), showAdvanced: alias('field.type'), messageUrl: 'https://thepavilion.io/t/2809',