mirror of
https://github.com/nextcloud/server.git
synced 2026-02-23 01:40:59 -05:00
Fix input for groups validation in new user form
The hidden input used for form validation was not actually hidden since Nextcloud 22, as the DOM structure changed to show a dialog rather than adding a row on top of the list when adding new users, so the CSS rules no longer matched. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
parent
8d96d18628
commit
aa8b11ca57
6 changed files with 19 additions and 16 deletions
|
|
@ -1560,15 +1560,6 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
|
|||
&.sticky {
|
||||
box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
|
||||
}
|
||||
|
||||
/* fake input for groups validation */
|
||||
input#newgroups {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
width: 80% !important;
|
||||
margin: 0 10%;
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// separate prop to set initial value to top: 50px
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -622,4 +622,16 @@ export default {
|
|||
.row::v-deep .multiselect__single {
|
||||
z-index: auto !important;
|
||||
}
|
||||
|
||||
/* fake input for groups validation */
|
||||
input#newgroups {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
/* The "hidden" input is behind the Multiselect, so in general it does
|
||||
* not receives clicks. However, with Firefox, after the validation
|
||||
* fails, it will receive the first click done on it, so its width needs
|
||||
* to be set to 0 to prevent that ("pointer-events: none" does not
|
||||
* prevent it). */
|
||||
width: 0;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue