fix(curriculum): add test for number input min value in lab event RSVP (#64967)

This commit is contained in:
miyaliu666
2026-01-05 23:30:25 +08:00
committed by GitHub
parent f351466836
commit 1c37594140
@@ -127,6 +127,19 @@ try {
}
```
The `input[type="number"]` element should not accept values less than 1.
```js
try {
const input = document.querySelector('form input[type="number"]');
assert.exists(input);
assert.equal(input.min, '1');
} catch (e) {
console.log(e);
throw e;
}
```
Changing the value of the `input[type="text"]` elements should update component state.
```js