Open Shehan-lakshitha opened 1 month ago
The issue is that the user agent stylesheet sets the background-image to none !important, making them non-overridable which means our background image won’t show when users select saved data. According to the MDN documentation, we can’t easily change this. You can check out: MDN :autofill
However, we can use, for example, the trickbox-shadow: 0 0 0 1000px orangered inset;
to customize the background color, but this is not our main goal since we want to show the tick image.
Yes that would fix the background colour, but no the tick :(
Prerequisites
Describe the issue
On below registration form the form validation, which is the tick does not show when the user uses the browser saved data, but shows up the when user enter the data manually. Below images show for reference,
When manually entered,
When used the browser saved data,
Please refer the below code
Reduced test cases
None
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Microsoft Edge
What version of Bootstrap are you using?
v5.3.3