From 3ddb08a5715ff8fc95c0f626bf4bd3ac05f0d083 Mon Sep 17 00:00:00 2001 From: Favour Olayinka Date: Mon, 10 Jun 2024 17:06:11 +0100 Subject: [PATCH] D4310 new input section (#446) * fix password reset bug * bottom margin * fix implicit custom validation, field margin --- app/Rules/CustomFieldValidationRule.php | 7 +++++++ .../open/forms/fields/components/FieldOptions.vue | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Rules/CustomFieldValidationRule.php b/app/Rules/CustomFieldValidationRule.php index 138dc4fd..5f672786 100644 --- a/app/Rules/CustomFieldValidationRule.php +++ b/app/Rules/CustomFieldValidationRule.php @@ -8,6 +8,13 @@ use Illuminate\Contracts\Validation\ValidationRule; class CustomFieldValidationRule implements ValidationRule { + /** + * Indicates whether the rule should be implicit. + * + * @var bool + */ + public $implicit = true; + /** * Create a new rule instance. * diff --git a/client/components/open/forms/fields/components/FieldOptions.vue b/client/components/open/forms/fields/components/FieldOptions.vue index 1f9bf484..23daa1f2 100644 --- a/client/components/open/forms/fields/components/FieldOptions.vue +++ b/client/components/open/forms/fields/components/FieldOptions.vue @@ -568,7 +568,7 @@ />