Pending Review
Last Updated: 25 Oct 2018 08:18 by ADMIN
Sam
Created on: 08 Feb 2017 12:59
Category: Kendo UI for Angular 2+
Type: Feature Request
9
Allow the use of forms in dialog and window
Currently there is not a way to define a form with ng-submit within a dialog, and have the `<button type="submit">` within the actions.

Take for example this ui bootstrap modal example, where the parent elemint is a form.

```
<form name="formData" ng-submit="form.submit()" novalidate="novalidate">
  <div class="modal-header">
    UI Bootstrap Modal form Demo
  </div>
  <div class="modal-body">
    <input type="text" required ng-model="name">
  </div>
  <div class="modal-footer">
    <button class="btn btn-primary"
            type="submit">
      OK
    </button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button>
  </div>
</form>
```
2 comments
Holger
Posted on: 10 Oct 2018 12:20
It will be possible when this request "Allow complete content of dialog to be passed to the service" (https://github.com/telerik/kendo-angular/issues/1046) has been implemented.
oschebesta
Posted on: 27 Jul 2017 13:41
this would be pretty helpful to me!