小编3HM*_*key的帖子

如何在 Blazor 服务器应用程序中使用 cshtml(Razor 页面)

well I am pretty new to Blazor. I have been working with NodeJS alot before. For a new use case I wanted to know more about Blazor, so I am currently investigating in that. Well, what am I planning to do? I'd like to test the components that deal with the entity framework including CRUD-operations. For this I had done a few tests in the past. I personally like that process (it is very inovative and effective) to automatically generate …

asp.net asp.net-mvc razor blazor blazor-server-side

8
推荐指数
1
解决办法
8322
查看次数

使用多个引导模式(ngx-bootstrap 和 Angular)时遇到问题

我在 Angular 4 中使用多个引导模式确实有问题。也许你可以帮我解决这个问题。该代码仅使用一种模态即可正常工作。我无法使用第一个加载的模态的按钮/表单。第二个工作正常。打开和关闭第二个模态后,第一个模态也起作用了……很奇怪。有什么不对?

<!-- ADD MODAL-->
<div bsModal #addModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myAddModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">Add Dimension</h4>
        <button type="button" class="close" (click)="addModal.hide()" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form>
          <div class="form-group">
            <label for="formGroupInput">TAG</label>
            <input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input" aria-describedby="keyHelp"
              value="" disabled>
            <small id="keyHelp" class="form-text text-muted">Notice that this field is a surrogate key!</small>
          </div>
          <div class="form-group">
            <label for="formGroupInput2">Name</label>
            <input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input" value="">
          </div>
          <div class="form-group">
            <label for="formGroupInput3">Description</label>
            <input …
Run Code Online (Sandbox Code Playgroud)

javascript modal-dialog twitter-bootstrap ngx-bootstrap angular

1
推荐指数
1
解决办法
5604
查看次数