Hi All,
I have added the Date-Input to my PCF Component. I want to change its width and height to the width and height of the PCF component and it should change when we change the width and height of the PCF component on the CanvasApp screen, like if we drag it to either side or up/down to increase it's width and height then width and height of Date-input should also change to that component size as we have for out-of-the-box controls like Text-Input, DatePicker, etc.
I have set my style.width & style.height to 100%. Now, the width of the Date-Input is changing with the component's width when we change or drag the component to either side but it is not applying to height. Height of Date-Input is still the same and not changing with the component's height on Canvas App Screen.
Note: I just want to change the height of the Input Box in Date-Input to the height of the component, not of the entire Date-Input Calendar when it opens.
Can someone help with some solution to this?
Thanks in advance.

Report
All responses (
Answers (