Skip to content

Commit

Permalink
fix(formly): remove optionValue parameter
Browse files Browse the repository at this point in the history
When the group parameter is activated and the OptionValue parameter
is set, the placeholder is no longer displayed.

Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Feb 12, 2025
1 parent 5e2d0fa commit 36e17ed
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export interface IFormlySelectFieldConfig extends FormlyFieldConfig<ISelectProps
[loadingIcon]="props.loadingIcon"
[options]="selectOptions"
optionLabel="label"
optionValue="value"
[panelStyleClass]="props.panelStyleClass"
[placeholder]="props.placeholder"
[required]="props.required"
Expand All @@ -96,7 +95,7 @@ export interface IFormlySelectFieldConfig extends FormlyFieldConfig<ISelectProps
`,
styles: `
:host ::ng-deep .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group {
padding: 0 1.25rem;
padding: 0 0.3rem;
}
:host ::ng-deep .p-dropdown-panel .p-dropdown-items .p-dropdown-item-group hr {
Expand Down

0 comments on commit 36e17ed

Please sign in to comment.