Radio and checkbox didn't show popup "Please select one of these options." when field definitions required: true. Because it can not focus. (#5520)

Use display:block;opacity:0 instead of display:none
This commit is contained in:
meesiris 2021-03-15 09:20:19 +07:00 committed by GitHub
parent 7a925f43a9
commit 5cc3307165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4096,7 +4096,7 @@ html.cssanimations .cursor-loading-indicator.hide {display:none}
.custom-checkbox input[type=radio],
.custom-radio input[type=radio],
.custom-checkbox input[type=checkbox],
.custom-radio input[type=checkbox] {display:none}
.custom-radio input[type=checkbox] {display:block;opacity: 0}
.custom-checkbox label,
.custom-radio label {display:inline-block;cursor:pointer;position:relative;padding-left:25px;margin-right:15px;margin-left:-20px;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.custom-checkbox label:before,