problem with dark background in input field
- 主要語言
- TypeScript
- 星號
- 8.1k
- 分支
- 1.5k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi,
I use ngx-admin and nebular in my project and I have small issue. I've created a component which download data from sql server via service and then data is supposed to be passed to new modal-dialog component where user could see it and enter some new values into text input fields. In my whole project I've choosen dark theme (including dark background in all input fields).
The problem is when I try to pass an object to modal like this:
` open(model: ImportConfigResponseModel) {
this.dialogService.open(ModalEditImportConfigComponent, {context: {passedModel: model}})
.onClose.subscribe(x=>{
this.ngOnInit();
} );
err => {
console.log("Error");
}
}`
unfortunately the background of input fields inside inside modal is white instead of being dark.
When I open modal like this (without passing an object or anything else):
` open() {
this.dialogService.open(ModalEditImportConfigComponent)
.onClose.subscribe();
}
` the background in input field is correctly dark.
What am I supposed to do, am I passing the object wrong and in some way it brokes something?
貢獻指南
評估
這個 Issue 還沒有評估資料。