New attributes for er:value

You can now define custom content or html before and after the value, if value is defined.

One of the nice things with <er:value /> is that it does not render if the value is empty. So if you use the tag-attribute, it will not appear as an empty tag if there is no value.

We have now introduced a few more attributes:

  • Before
    • Here you define the html or content to be shown before the value. This will be placed inside the tag.
  • BeforeField
    • Here you can define a table field to read the "before" value from.
  • After
    • Similar as "before", but after the content.
  • AfterField
    • Similar as "BeforeField", but after the content.