How to make in Cypress an equivalent of PressKeyCode from Appium?

Today i meet a problem with a particular input, it looks like that :

enter image description here –> enter image description here

The problem with this input is that it’s an input with 6 input in it, so a typical cy.get('element').type(aValue) is not working.
I tried to loop on each of the 6 inputs, but it’s not working either.

It seem that the value are not writed like it should be on other normal input (like a textArea) but it show me a “click” on each input.
(This solution : cy.get('element').invoke('val', aValue) doesn’t work either but it show the number on each input but disappear when i want to validate the entry)

Before using Cypress, i was using Appium and i was just looping like that driver.pressKeyCode(charValue) over the value (i didn’t select any element to press the code like it could be here : https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode) and it worked fine.

But right now this solution doesn’t work with Cypress. Or i just don’t understand how this solution https://sqa.stackexchange.com/a/46913 works, i tried different behaviour and nothing worked for my particular case.

Anyone have an idea to overpass this problem with my input or any solution to make the same thing as i did with Appium ?