Remove autocomplete from message box (#630)
* Remove autocomplete from message box The message box has autocomplete turned on, which causes some browsers to suggest previously written messages in a really annoying way. This fixes that issue. * Update src/components/PageComponents/Messages/MessageInput.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -60,6 +60,7 @@ export const MessageInput = ({
|
|||||||
minLength={1}
|
minLength={1}
|
||||||
name="messageInput"
|
name="messageInput"
|
||||||
placeholder="Enter Message"
|
placeholder="Enter Message"
|
||||||
|
autoComplete="off"
|
||||||
value={localDraft}
|
value={localDraft}
|
||||||
onChange={handleInputChange}
|
onChange={handleInputChange}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user