Add option on iFrame widget to use vehicle address as the base URL#2222
Conversation
47d9bc9 to
bbfcfa7
Compare
ArturoManzoli
left a comment
There was a problem hiding this comment.
It mainly works, but somehow the old address is sticky on the Text input Field:
Screenshare.-.2025-11-12.1_53_53.PM.mp4
bbfcfa7 to
01d7e27
Compare
|
From our external discussion around that part I modified the behavior of this field to clear the URL if the user clicks the switch without having used that case (baseURL enabled vs not enabled) before, or reusing the last inputed URL if the user has already typed something there during the current session. That way we prevent the user to have to re-input the entire URL if they click the button by mistake or just to take a look on what it does. |
ArturoManzoli
left a comment
There was a problem hiding this comment.
Working fine, and in an intuitive way now!
|
How can I enable it from the cockpit external widget API? |
Will be added on a following PR. I didn't want to implement it in this one yet so there's no much rebase to be done on the #1962. |
Fix #2202