added value preview to VariableComponent extension