Squareline Keyboard Widget - How to activate Enter Key


I am trying to use the Squareline keyboard widget (only numbers keyboard). I would like to make the keyboard disappear when enter key is pressed but by default is enter key i grayed out and does not do anything.
Is there any way to make that happen is Squareline software or this has to happen in the generated code by the software (LVGL code)?