I am creating chat for my app. There is slightly delay when sending messages and also it’s possible to send empty messages. I added delete post button if this happens but just in case asking here is it possible to create like 5 seconds cooling down if pressing send button 2 times a row?
Also is it possible to prevent empty messages so input field cannot be empty?
EDIT: Works now. I made the send button only show if the text field contains text and for the cooling down I used custom app bar so the send button is ICON and not the original adalo app bar so the icon shows loading bar when it’s pressed one time.