Hook accessor has now the value of the attribute as input