]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Help button must not send the parent form
authorChocobozzz <me@florianbigard.com>
Mon, 22 May 2023 09:13:01 +0000 (11:13 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 22 May 2023 09:13:01 +0000 (11:13 +0200)
client/src/app/+admin/overview/users/user-edit/user-edit.component.html
client/src/app/shared/shared-main/misc/help.component.html

index 278bd8c48ab47a792bc3c2d59e884bb032fe9c0b..ce32268579682abd1e0c4cde2236bae1dc5b8a07 100644 (file)
 
         <div class="form-group" *ngIf="isCreation()">
           <label i18n for="password">Password</label>
+
           <my-help *ngIf="isPasswordOptional()">
             <ng-template ptTemplate="customHtml">
               <ng-container i18n>
index 0252ad5cb247a99201725fb86fcd5cc33c987018..7f4ddfb80307c8068c5da42353864c2af58a113b 100644 (file)
@@ -32,6 +32,7 @@
   [autoClose]="autoClose"
   (onHidden)="onPopoverHidden()"
   (onShown)="onPopoverShown()"
+  type="button"
 >
   <my-global-icon [iconName]="iconName"></my-global-icon>
 </button>