Skip to content

display calendar legend #12403

@egorwow70

Description

@egorwow70

Is this a bug, enhancement, or feature request?

bug

Describe your proposal.

Hello, fundamental-ngx team. We are implementing the app using angular and fundamental-ngx/core and have a requirement to display a date picker with special dates and legend displayed. As I can see, special dates can be displayed with current library functionality, but the legend is missing. Is it possible to fix it on the library side?

Legend should be supported by both fd-calendar and fd-date-picker from fundamental-ngx/core

As for the technical side, I think it will be easy for devs, who are using the lib, to configure that via those objects (SpecialDayRule), for example via new field - title or label or legendLabel (naming up to you):

image

I am not a designer, but this is an example what we need:
image

Sapui5 example - https://sapui5.hana.ondemand.com/#/entity/sap.ui.unified.Calendar/sample/sap.ui.unified.sample.CalendarSpecialDaysLegend

Can you handle that on the application side

No.

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

  • "@fundamental-ngx/core": "0.49.0",
  • "@sap-theming/theming-base-content": "11.13.0",
  • "fundamental-styles": "0.34.0",
  • "@angular/core": "17.3.0",

Did you check the documentation and the API?

Yes.

Did you search for similar issues?

Yes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions