Incompatible with Clientside Validation and required checkbox

Created on 19 August 2023, over 1 year ago
Updated 2 August 2024, 4 months ago

Problem/Motivation

Hi,

When on a user register form, there is a required boolean field displayed as checkbox and when using Clientside Validation β†’ , the input is hovered by the validation message and so it is no more possible to check the checkbox.

See attached screenshots.

I made a quick workaround for my website, if this help:

/* Quick and dirty fix. */
.form-checkbox.required.form-boolean.form-boolean--type-checkbox.error + .form-item--error-message {
  padding-inline-start: 50px;
}
.form-checkbox.required.form-boolean.form-boolean--type-checkbox.error ~ .checkbox-toggle {
  position: absolute;
  top: 0;
}

Steps to reproduce

Use Gin Login, Clientside Validation and have a require boolean field on user register form.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs work

Version

3.0

Component

User interface

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024