Let specify a default value for a custom state on page load

Would be very useful in a lot of situations

Can’t you use the “on page loaded” event to do this?