disappearing style attribute from p-datepicker-panel #3220
Unanswered
WhistlerSupport
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am on angular 18 and primeng 18
In a page I use a calendar / datepicker in an input form, then display a list of input in a p-table under it. Its discovered that, randomly, the datepicker will lost its style attribute after I added more [value] to the p-table
conponent.html
component.ts
so when the page first loads, the p-datepicker-panel has the following div in the html code
but after I have clicked the add button, selection from datepiacker cleared, new line items appeared in p-table, the style will be gone and the div only has this
which caused most of the datepicker element to be covered by the other html elements due to the lost of z-index, the page become quite unusable.
I can subsequently clear more of the page, e.g. select some different header and have the p-table data completely overhualed, then the calender / datepicker element regains the style and works normally again
I could not find any reference to z-index in the code of datepicker, may I know where did the z-index come from? and is this a feature or bug I am seeing?
Beta Was this translation helpful? Give feedback.
All reactions