Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngx-dsfr-components
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Josselin Bardet
ngx-dsfr-components
Commits
c66b5043
Commit
c66b5043
authored
1 year ago
by
Kevin Genty
Browse files
Options
Downloads
Patches
Plain Diff
fix(select): optgroup tronqué firefox
parent
cc9936fd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
projects/ngx-dsfr-components/src/lib/forms/form-select/form-select.component.html
+2
-1
2 additions, 1 deletion
...ents/src/lib/forms/form-select/form-select.component.html
with
3 additions
and
1 deletion
CHANGELOG.md
+
1
−
0
View file @
c66b5043
...
...
@@ -26,6 +26,7 @@
-
fix(input): erreur js si usage dans une modale
-
fix(tile): dépréciation de
`detail`
en faveur de
`detailBottom`
pour homogénéiser avec la carte
-
fix(select): suppression de la conversion automatique des values en string (ex. une value passée en number reste dorénavant un number)
-
fix(select): correction firefox
`optgroup`
tronqué
-
fix(select): problème de performance lors de l'affichage d'un grand nombre d'options sur Firefox
-
doc(card/tile): correction documentation detail carte et tuile de téléchargement
-
doc(display): fix les modales non visibles dans la doc de Storybook
...
...
This diff is collapsed.
Click to expand it.
projects/ngx-dsfr-components/src/lib/forms/form-select/form-select.component.html
+
2
−
1
View file @
c66b5043
...
...
@@ -55,7 +55,8 @@
</option>
</ng-container>
<ng-container
*ngFor=
"let option of options; trackBy: trackByIndex"
>
<optgroup
*ngIf=
"option.options"
[label]=
"option.label"
>
<!--Le font-style sur optgroup corrige une pbm d'affichage de firefox (texte tronqué)-->
<optgroup
*ngIf=
"option.options"
[label]=
"option.label"
style=
"font-style: normal"
>
<option
*ngFor=
"let option of option.options; trackBy: trackByIndex"
[ngValue]=
"option.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