Text Input Field: "Cancel" or "return" option

Hi! I’m trying to prototype a text input field using the input layer. I can see a list of option to assign the “return” button on the keyboard to (incl. Go, Search, Send, etc) but am wondering if there’s a way to simply have that button be a “return” or “cancel”, so that a user can exit out of the interaction?

iOS keyboards currently seem to allow for this, is this a feature that’s possible now or one that could be added in the future?