locked
value of text input field is changed in inspector but in browser window RRS feed

  • Question

  • User966207163 posted

    The problem is that when i'm pressing back button in chrome the value of input field is changed in inspector but the value is not changed in browser window. This does not happen in edge i dont know why.

    below is the link to the video on youtube you can see that the program is working fine in edge but not in chrome and opera.

    video - https://youtu.be/zRPRMa4f_hk
    project file - https://drive.google.com/file/d/13Q7gxc-fvzkvftk769Qy51u60_Pxd4IU/view?usp=sharing

    here you can see that the value in inspector and browser are different.
    Untitled
    here is the code. I checked in this project too but this project too have this problem.
    Screenshot (99)
    Screenshot (100)

    Saturday, February 15, 2020 6:01 AM

Answers

  • User711641945 posted

    Hi nareshbishtasus,

    Change like below:

    <form method="get" autocomplete="off" >
        <input type="search" asp-for="searchTerm" />
        <input type="submit" />
    </form>

    Best Regards,

    Rena

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 17, 2020 8:08 AM

All replies

  • User711641945 posted

    Hi nareshbishtasus,

    Change like below:

    <form method="get" autocomplete="off" >
        <input type="search" asp-for="searchTerm" />
        <input type="submit" />
    </form>

    Best Regards,

    Rena

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 17, 2020 8:08 AM
  • User966207163 posted

    Yeah i found that. Thank you.

    Monday, February 17, 2020 3:45 PM