Set pre from yaml when field is created.