rtl=true for dynamic Dialog does not work

UI Components for Angular
Post Reply
ofirba
Posts: 1
Joined: 07 Oct 2019, 15:42

07 Oct 2019, 15:50

Hi,
const ref = this.dialogService.open(SOME_COMPONENT, {
data: {},
header: 'XXXX',
width: '40%',
rtl: true,
closeOnEscape: true,
styleClass: ".ui-dialog .ui-dialog-titlebar .ui-dialog-title .save-system-header",
contentStyle: { "max-height": "350px", "overflow": "auto" }
});

the dialog still opens as rtl=false, its default value

narjes
Posts: 5
Joined: 09 May 2021, 08:47

23 May 2021, 09:55

hi
I have this problem too, any idea?

PhilHuhn
Posts: 177
Joined: 19 Sep 2018, 02:52
Location: Ann Arbor, Michigan USA
Contact:

24 May 2021, 14:53

Hey all:
I am a fellow developer, not a PrimeNG employee. If you think this issue is a bug, you should report it on the GitHub account.

https://github.com/primefaces/primeng/issues/

I see that your styles include ui- which was removed in version 10. I am not sure how much support they give to old versions. On GitHub version 10 was last updated on Oct 8, 2020.

I ported to using bootstrap when I upgraded to version 10. You can decide differently and use PrimeNG's flex, or something else...

In general, I did a global search and replace as follows:
ui-grid-row -> row
nsg-content -> container
ui-grid-col- -> col-md-
ui-button- -> p-button-
ui-inputgroup -> ''
ui-inputtext -> ''
ui-grid ui-grid-responsive ui-fluid -> ''
ui-dialog -> p-dialog

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests