Skip to content

Commit a978ac9

Browse files
author
Mirek Simek
committed
version 0.6.12: added maxHeight, height, maxWidth, width
1 parent 979289d commit a978ac9

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

angular/package-dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "django-angular-dynamic-forms",
3-
"version": "0.6.11",
3+
"version": "0.6.12",
44
"license": "MIT",
55
"description": "Django Rest Framework meets Angular 5 material.io dynamic forms - automatic create and edit dialogs",
66
"typings": "./django-angular-dynamic-forms.d.ts",

angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "django-angular-dynamic-forms",
3-
"version": "0.6.11",
3+
"version": "0.6.12",
44
"license": "MIT",
55
"description": "Django Rest Framework meets Angular 5 material.io dynamic forms - rapid development of create and edit dialogs",
66
"typings": "./django-angular-dynamic-forms.d.ts",

angular/src/impl/django-form-content.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,10 @@ export class DjangoFormContentComponent implements OnInit, OnDestroy {
266266

267267
const value = Array.isArray(formModel.value) ? formModel.value : [formModel.value];
268268
const dialogRef = this.dialog.open(component, {
269-
width: '50vw',
270-
height: '50vh',
269+
maxHeight: '90vh',
270+
height: 'auto',
271+
maxWidth: '90vw',
272+
width: 'auto',
271273
data: {
272274
initialValue: value.filter((x) => !!x),
273275
config: def

demo/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "django-angular-dynamic-forms-demo",
3-
"version": "0.6.11",
3+
"version": "0.6.12",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",

demo/django/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Versions should comply with PEP440. For a discussion on single-sourcing
2626
# the version across setup.py and the project code, see
2727
# https://packaging.python.org/en/latest/single_source_version.html
28-
version='0.6.11',
28+
version='0.6.12',
2929

3030
description='Angular forms for django rest framework',
3131
long_description=long_description,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Versions should comply with PEP440. For a discussion on single-sourcing
2626
# the version across setup.py and the project code, see
2727
# https://packaging.python.org/en/latest/single_source_version.html
28-
version='0.6.11',
28+
version='0.6.12',
2929

3030
description='Django Rest Framework meets Angular 5 material.io dynamic forms - rapid development of create and edit dialogs',
3131
long_description=long_description,

0 commit comments

Comments
 (0)