How do I keep a spinbox in the edit state all the time

Description

I want spinbox keep in edit state all the time, but when i long press ENTER key, spinbox exits from the edit state.

What MCU/Processor/Board and compiler are you using?

MCU:STM32H743 compiler:keil v5

What LVGL version are you using?

v8.3.4

What do you want to achieve?

I want spinbox keep in edit state all the time

Code to reproduce

static void spinbox_event_cb(lv_event_t* e)
{
    lv_obj_t* obj = lv_event_get_target(e);
    lv_event_code_t code = lv_event_get_code(e);

    if (code == LV_EVENT_LEAVE) {
        lv_group_set_editing(lv_group_get_default(), true);
    }
    else if (code == LV_EVENT_LONG_PRESSED) {
        lv_group_set_editing(lv_group_get_default(), true);
    }
    else if (code == LV_EVENT_VALUE_CHANGED) {
        printf("aaa");
    }
    else  if (code == LV_EVENT_CLICKED) {
        printf("ccc");
    }
}
void create_spinbox(void)
{
    lv_obj_t* file_spinbox = lv_spinbox_create(lv_scr_act());
    lv_spinbox_set_range(file_spinbox, 1, 4);
    lv_spinbox_set_digit_format(file_spinbox, 1, 0);
    lv_spinbox_set_rollover(file_spinbox, true);
    lv_group_focus_next(lv_group_get_default());
    lv_group_set_editing(lv_group_get_default(), true);
    lv_group_focus_freeze(lv_group_get_default(), true);
    lv_obj_add_event_cb(file_spinbox, spinbox_event_cb, LV_EVENT_ALL, 0);
}

Screenshot and/or video


solution:
lv_obj_t* file_spinbox = lv_spinbox_create(lv_scr_act());
lv_spinbox_set_range(file_spinbox, 1, 4);
lv_spinbox_set_digit_format(file_spinbox, 1, 0);
lv_spinbox_set_rollover(file_spinbox, true);
lv_group_focus_next(lv_group_get_default());
lv_group_set_editing(lv_group_get_default(), true);
lv_group_focus_freeze(lv_group_get_default(), true);
lv_obj_add_event_cb(file_spinbox, spinbox_event_cb, LV_EVENT_ALL, 0);
/*************************** Add the following code ***********************************/
lv_group_remove_all_objs(lv_group_get_default());
lv_group_add_obj(lv_group_get_default(),file_spinbox );