Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
fce41b20
Verified
Commit
fce41b20
authored
5 years ago
by
Alex ORLUC
Browse files
Options
Downloads
Patches
Plain Diff
FIX #11269 TIME 0:10 disable input field list
parent
12c60a26
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/frontend/app/indexation/field-list/field-list.component.html
+12
-12
12 additions, 12 deletions
...ntend/app/indexation/field-list/field-list.component.html
with
12 additions
and
12 deletions
src/frontend/app/indexation/field-list/field-list.component.html
+
12
−
12
View file @
fce41b20
...
...
@@ -13,17 +13,17 @@
<ng-container
*ngIf=
"field.type === 'string'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<textarea
matInput
[placeholder]=
"lang[field.type + 'Input']"
matTextareaAutosize
matAutosizeMinRows=
"1"
cdkAutosizeMaxRows=
"6"
></textarea>
matAutosizeMinRows=
"1"
cdkAutosizeMaxRows=
"6"
disabled
></textarea>
</mat-form-field>
</ng-container>
<ng-container
*ngIf=
"field.type === 'integer'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<input
type=
"number"
matInput
[placeholder]=
"lang[field.type + 'Input']"
>
<input
type=
"number"
matInput
[placeholder]=
"lang[field.type + 'Input']"
disabled
>
</mat-form-field>
</ng-container>
<ng-container
*ngIf=
"field.type === 'select'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<mat-select
[placeholder]=
"lang[field.type + 'Input']"
>
<mat-select
[placeholder]=
"lang[field.type + 'Input']"
disabled
>
<mat-option
*ngFor=
"let value of field.values"
[value]=
"value"
>
{{value}}
</mat-option>
...
...
@@ -33,14 +33,14 @@
<ng-container
*ngIf=
"field.type === 'date'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<input
matInput
[matDatepicker]=
"picker"
[placeholder]=
"lang[field.type + 'Input']"
(click)=
"picker.open()"
>
(click)=
"picker.open()"
disabled
>
<mat-datepicker-toggle
matSuffix
[for]=
"picker"
>
</mat-datepicker-toggle>
<mat-datepicker
#picker
></mat-datepicker>
</mat-form-field>
</ng-container>
<ng-container
*ngIf=
"field.type === 'radio'"
>
<mat-radio-group
class=
"radio-form"
color=
"primary"
>
<mat-radio-group
class=
"radio-form"
color=
"primary"
disabled
>
<mat-radio-button
*ngFor=
"let value of field.values"
[value]=
"value"
>
{{value}}
</mat-radio-button>
...
...
@@ -48,7 +48,7 @@
</ng-container>
<ng-container
*ngIf=
"field.type === 'checkbox'"
>
<div
class=
"input-form checkbox-form"
>
<mat-selection-list
#shoes
class=
"div-list"
>
<mat-selection-list
#shoes
class=
"div-list"
disabled
>
<mat-list-option
*ngFor=
"let value of field.values"
[value]=
"value"
checkboxPosition=
"before"
>
{{value}}
...
...
@@ -83,17 +83,17 @@
<ng-container
*ngIf=
"field.type === 'string'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<textarea
matInput
[placeholder]=
"lang[field.type + 'Input']"
matTextareaAutosize
matAutosizeMinRows=
"1"
cdkAutosizeMaxRows=
"6"
></textarea>
matAutosizeMinRows=
"1"
cdkAutosizeMaxRows=
"6"
disabled
></textarea>
</mat-form-field>
</ng-container>
<ng-container
*ngIf=
"field.type === 'integer'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<input
type=
"number"
matInput
[placeholder]=
"lang[field.type + 'Input']"
>
<input
type=
"number"
matInput
[placeholder]=
"lang[field.type + 'Input']"
disabled
>
</mat-form-field>
</ng-container>
<ng-container
*ngIf=
"field.type === 'select'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<mat-select
[placeholder]=
"lang[field.type + 'Input']"
>
<mat-select
[placeholder]=
"lang[field.type + 'Input']"
disabled
>
<mat-option
*ngFor=
"let value of field.values"
[value]=
"value"
>
{{value}}
</mat-option>
...
...
@@ -103,14 +103,14 @@
<ng-container
*ngIf=
"field.type === 'date'"
>
<mat-form-field
class=
"input-form"
floatLabel=
"never"
>
<input
matInput
[matDatepicker]=
"picker"
[placeholder]=
"lang[field.type + 'Input']"
(click)=
"picker.open()"
>
(click)=
"picker.open()"
disabled
>
<mat-datepicker-toggle
matSuffix
[for]=
"picker"
>
</mat-datepicker-toggle>
<mat-datepicker
#picker
></mat-datepicker>
</mat-form-field>
</ng-container>
<ng-container
*ngIf=
"field.type === 'radio'"
>
<mat-radio-group
class=
"radio-form"
color=
"primary"
>
<mat-radio-group
class=
"radio-form"
color=
"primary"
disabled
>
<mat-radio-button
*ngFor=
"let value of field.values"
[value]=
"value"
>
{{value}}
</mat-radio-button>
...
...
@@ -118,7 +118,7 @@
</ng-container>
<ng-container
*ngIf=
"field.type === 'checkbox'"
>
<div
class=
"input-form checkbox-form"
>
<mat-selection-list
#shoes
class=
"div-list"
>
<mat-selection-list
#shoes
class=
"div-list"
disabled
>
<mat-list-option
*ngFor=
"let value of field.values"
[value]=
"value"
checkboxPosition=
"before"
>
{{value}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment