File tree Expand file tree Collapse file tree 5 files changed +3
-5
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/Dto Expand file tree Collapse file tree 5 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ <h4 class="modal-title">
40
40
< div class ="col-sm-12 ">
41
41
< div class ="form-group form-float ">
42
42
< div class ="form-line ">
43
- < textarea id ="role-description " name ="Description " [(ngModel)] ="role.description " required class ="validate form-control "> </ textarea >
43
+ < textarea id ="role-description " name ="Description " [(ngModel)] ="role.description " class ="validate form-control "> </ textarea >
44
44
< label for ="role-description " class ="form-label "> Role Description</ label >
45
45
</ div >
46
46
</ div >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ <h4 class="modal-title">
41
41
< div class ="col-sm-12 ">
42
42
< div class ="form-group form-float ">
43
43
< div class ="form-line ">
44
- < textarea id ="role-description " name ="Description " [(ngModel)] ="role.description " required class ="validate form-control "> </ textarea >
44
+ < textarea id ="role-description " name ="Description " [(ngModel)] ="role.description " class ="validate form-control "> </ textarea >
45
45
< label for ="role-description " class ="form-label "> Role Description</ label >
46
46
</ div >
47
47
</ div >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class PagedRequestDto {
18
18
19
19
export abstract class PagedListingComponentBase < EntityDto > extends AppComponentBase implements OnInit {
20
20
21
- public pageSize : number = 2 ;
21
+ public pageSize : number = 10 ;
22
22
public pageNumber : number = 1 ;
23
23
public totalPages : number = 1 ;
24
24
public totalItems : number ;
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ public class CreateRoleDto
20
20
21
21
public string NormalizedName { get ; set ; }
22
22
23
- [ Required ]
24
23
[ StringLength ( Role . MaxDescriptionLength ) ]
25
24
public string Description { get ; set ; }
26
25
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ public class RoleDto : EntityDto<int>
20
20
21
21
public string NormalizedName { get ; set ; }
22
22
23
- [ Required ]
24
23
[ StringLength ( Role . MaxDescriptionLength ) ]
25
24
public string Description { get ; set ; }
26
25
You can’t perform that action at this time.
0 commit comments