Skip to content

Commit

Permalink
fix: 更改输入框默认行数
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Apr 13, 2024
1 parent 7fca554 commit 0be4a06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webview/src/apps/setting/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</div>
<div class="col-12">
<label class="form-label">备注</label>
<input type="text" name="remark" class="form-control" [(ngModel)]="formdata.remark" required />
<textarea name="remark" class="form-control" rows="3" [(ngModel)]="formdata.remark" required></textarea>
</div>
<div class="col-12">
<button type="submit" class="btn btn-primary" [disabled]="myform.invalid">确认</button>
Expand Down
2 changes: 1 addition & 1 deletion webview/src/apps/setting/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</div>
<div class="col-12">
<label class="form-label">备注</label>
<input type="text" name="remark" class="form-control" [(ngModel)]="formdata.remark" required />
<textarea name="remark" class="form-control" rows="3" [(ngModel)]="formdata.remark" required></textarea>
</div>
<div class="col-12">
<button type="submit" class="btn btn-primary" [disabled]="myform.invalid">确认</button>
Expand Down
2 changes: 1 addition & 1 deletion webview/src/apps/wcferry/dbquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>

<div class="container-xl mb-3">
<textarea class="form-control" rows="2" [(ngModel)]="sql">{{sql}}</textarea>
<textarea class="form-control" rows="3" [(ngModel)]="sql">{{sql}}</textarea>
</div>

<div class="container-xl mb-3">
Expand Down

0 comments on commit 0be4a06

Please sign in to comment.