valueCallback in custom form element is not invoking itself?
It doesn't invoke itself when #value is already set to element. I didn't notice that I set it in theme function. After removing #value key from $element array it is working fine.