@onehat/ui 0.3.156 → 0.3.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.156",
3
+ "version": "0.3.157",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -614,6 +614,9 @@ function Form(props) {
614
614
  {...propsToPass}
615
615
  />;
616
616
  if (title) {
617
+ if (record?.displayValue) {
618
+ title += ' for ' + record.displayValue;
619
+ }
617
620
  title = <Text
618
621
  fontSize={styles.FORM_ANCILLARY_TITLE_FONTSIZE}
619
622
  fontWeight="bold"