Show max length for sms and push messages

Providing a limit will help clarify for the user so that
they won't send a message which will then fail because
of the limit.

Since the limit varies by provider, the Console is going
to use the smallest limit out of all the providers.
This commit is contained in:
Steven Nguyen committed 2024-02-09 18:20:03 -08:00
1 parent 8c8f0b7ccb
commit 571c104659
2 files changed
+2

No files matched your search

@@ -99,6 +99,7 @@
id="message"
label="Message"
placeholder="Type here..."
maxlength={1000}
bind:value={$messageParams[MessagingProviderType.Push]['body']}>
</InputTextarea>
<!-- TODO: Add support for draft messages -->
@@ -39,6 +39,7 @@
id="message"
label="Message"
placeholder="Type here..."
maxlength={900}
bind:value={$messageParams[$providerType]['content']}>
</InputTextarea>
<!-- TODO: Add support for draft messages -->