Default on parse failure

Use a default value for this column rather than fail

Ingredient Family: csvImportFieldIngredients

Outline Display: Use the default value {{default}} for column {{field}} if the CSV value in column {{header}} fails to parse

Local scope

The parent slot binds these (look up the slot in the parent to see how):

  • $table – The table to import fields into

Settings

Required

  • field : column of $table (type filter: any type)
    The column where we should put this value

  • default : constant value (type: type of field)
    The default value to use if the field is missing or unable to be parsed

  • header : constant value (type: text; required, non-nullable)
    Header text