Files
zulip/web/tests/util.test.cjs
Lauryn Menard d6db6e3806 invite-modal: Fix invalid custom input to not show "NaN".
Updates the invite modal so that if the custom input is 0, the
submit button is deactivated, since an email invitation or invite
link that immediately expired would be unusable.

Also, updates the custom input to show 0 if a user navigates away
from and back to the custom input option afer putting in an invalid
value, e.g. "abc" or "-20". Previously, the custom input showed
"NaN" in that case.
2024-12-31 16:51:59 -08:00

17 KiB