Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

bootstrap datepicker configs #1356

Closed
Closed
@daanporon

Description

@daanporon

Hi, at the moment the datepickerPopupConfig and datepickerPopupConfig configs are constants. Wouldn't it be better if they where values? You don't need them in any configuration function or provider from what i've seen and i think it would be better if they where modifiable. Also constants can't be overwritten by a factory service, you can only overwrite it by providing your own constant. In my case i want to translate the clear-text, current-text and close-text in my config (so that they are translated in every datepicker i have) and i have a translate service to do translations. So it would be cool if i could overwrite the config by a factory in which i can inject my translate service to do the translations.

kind regards,
Daan

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions