Skip to content

Datepicker looses its CSS upon reload of page after Upgrade to Angular 15 #6615

Open
@deathstar1708

Description

@deathstar1708

i have upgraded my project to the following version in accordance of Angular 15:
"ngx-bootstrap": "^10.2.0",
"bootstrap": "^5.2.3",

Since the latest upgrade , i am having an issue where when my datepicker component self reloads , it looses the custom css that is attached to it . The styles section in my angular JSON files are updates as follows :
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"src/assets/scss/appointment/custom-style.scss",
"src/styles.scss"

It looses the custom css on it and loads the default css instead. Upon researching , i found another instance whereby this issue is raised : https://stackoverflow.com/questions/63892436/ngx-bootstrap-inline-datepicker-stops-working-after-browser-reload-after-settin .

Please help . Thank you

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