getApiErrorFromPath
. ​path
is an array
representing the nested property names of your entity.product.name
, instead of having the array ['product', 'name']
present.subject
parameter is the entity name (not the entity itself) and properties
is an array of the properties you want to map. You can spread its result to create computed properties in your component. The functions returned by the mapper are named like a camelCase representation of your input, suffixed with Error
.sw-product-basic-form
component: ​tab
. For this you can write a config for your sw-page
component which looks like seen below: ​mapPageError
computed property: