Add a select input custom default value based on select options in Custom Field advanced settings

I am developing a custom field based on value enumeration and I would like to know if there is a way to implement a default value selection like the native enumeration field. Looks like the enumerator field is using a function named enumeration(data) but I feel like it’s not possible to do it for custom field

I’m having the same problem, have you found a solution for this?