For input clear on robotframework, how to do best?

when I have UI automation, I often meet some input field, sometimes I need to clear all text and input new text. sometime it will not work using Clear Element Text keywords. in these scenarios,

  1. I try to use Double Click Element and click backspace, but sometimes it just selects some of the text, not all of text
  2. I use press keys, to send ctrl+a and backspace, it can work on windows but fail on macOS. since macOS use command+a, it seems press keys have no command key.
    except for these two methods, is there any good way to clear text in any scenario? Thanks