Skip to content

Modal title and body are missing #46

Description

@giorgos07

Hello guys,

modal title and body are missing if you upgrade from version 0.2.167-beta.39 to any higher version. Nothing has changed by my side in terms of code.

This is the modal when using version 0.2.167-beta.39
modal_body_exists
...and this is the same modal using any higher version
modal_body_missing

I initialize and display the modal using code like the following:

const modal = this._modalService.show(BasicModalComponent, {
    animated: true,
    initialState: {
	title: 'Δημοσίευση',
        message: `Είστε σίγουρος ότι θέλετε να δημοσιεύσετε την καμπάνια '${this.campaign?.title}';`,
        data: this.campaign
    },
    keyboard: true
});

In the case that the modal is working i can see that the show method instantiates the BasicModalComponent providing the correct initialState to the component.
debug_title_correct
But this is not the case when upgrading to a version newer than 0.2.167-beta.39
debug_title_wrong

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvalidThis doesn't seem right

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions