We need a message when a donor enters an amount below the minimum. Currently it's just a red box with no information.
So I had a weird experience testing this locally. I saw the error on my first test. Then I added some logging and tested again, and strangely the error text showed up! Then I tried to test without the logging (though it seemed weird if that fixed it) and there was an unrelated bug on ingenico's side that prevented me from testing further.
Okay, so I've found more interesting behavior. Basically the error highlighting appears if I tab away from the box, but when I click "Donate Monthly" the error text appears. I've been trying to find where in the code the highlight is applied but haven't found it yet.
There are two places I thought the initial error highlighting might be coming from: validation_input and ext.donationinterface.validation.js, but when I enter console.log statements in them, they are not logged.
I'm currently thinking this might be something from Firefox, because I noticed the red highlighting doesn't happen in Chrome and the errorHighlight class doesn't seem to have actually been applied. I'm trying to test one more idea.
Change 530380 had a related patch set uploaded (by Mepps; owner: Mepps):
[mediawiki/extensions/DonationInterface@master] Changed class and id names to fit conventions from other forms Could improve tech debt slightly later, but open to not merging this
Looks like "Used ids instead of classes and allowed for comma and decimal inputs" is still waiting to go out. Last deploy was these:
2fb8a4049 Non-USD support for updonate d7d56b60b Fix other amount validation for updonate 44180d5d4 Card alt text: include when translated