From eb493c357ce59dc0c6766af924b5b59503fb021b Mon Sep 17 00:00:00 2001 From: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com> Date: Thu, 20 Mar 2025 20:03:14 +0530 Subject: [PATCH] Enhance CheckboxInput and ToggleSwitchInput Components with Help Slot Positioning (#728) - Introduce conditional rendering for help text in CheckboxInput.vue and ToggleSwitchInput.vue, allowing help text to be displayed either above or below the input based on the helpPosition prop. - Update the structure of the help slot to improve flexibility and user experience. These changes enhance the usability of the form components by providing clearer guidance to users. --- client/components/forms/CheckboxInput.vue | 18 +++++++++++++++++- client/components/forms/ToggleSwitchInput.vue | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/client/components/forms/CheckboxInput.vue b/client/components/forms/CheckboxInput.vue index 9bbd60a4..37ddc615 100644 --- a/client/components/forms/CheckboxInput.vue +++ b/client/components/forms/CheckboxInput.vue @@ -15,6 +15,19 @@ :theme="theme" />