小编Vol*_*yer的帖子

在云形成中输出 apikey 值

我有一个输出变量的 cloudformation 模板。输出变量之一是

 ApiGKeyId:
    Description: "Api Key Id"
    Value: !Ref ApplicationApiGatewayApiKey
Run Code Online (Sandbox Code Playgroud)

这将返回 API 网关密钥的 Id 而不是实际值。有没有办法获得价值?

amazon-web-services aws-cloudformation aws-api-gateway

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

输入类型="文件"的角度2上没有形式验证

  <div class="form-group">
    <label for="fileName">Name</label>

    <input type="file" class="form-control" id="fileName"  placeholder="Upload file" accept=".xlsx, .xls"
           required
           [(ngModel)]="model.fileName" name="fileName"
           #fileName="ngModel">
    <div [hidden]="fileName.valid || fileName.pristine" class="alert alert-danger">
      File to be uploaded is required
    </div>
  </div>
Run Code Online (Sandbox Code Playgroud)

使用angularjs2表单,我正在尝试上传文件并提交表单.即使我选择文件,控件也无法识别所选值.

forms angular

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