Skip to content

Commit eb50b73

Browse files
authored
1 parent 06f0087 commit eb50b73

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/dnb-eufemia/src/extensions/forms/FieldBlock/FieldBlockDocs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const FieldBlockSharedProperties: PropertiesTableProps = {
2727
status: 'optional',
2828
},
2929
help: {
30-
doc: 'Provide help content for the field using `title` and `content` as a string or React.Node. Additionally, you can set `open` to `true` to display the inline help, set the `breakout` property to `false` to disable the breakout of the inline help content, or use `renderAs` set to `dialog` to render the content in a [Dialog](/uilib/components/dialog/) (recommended for larger amounts of content).',
30+
doc: 'Provide help content for the field using `title` and `content` as a string or React.Node. Additionally, you can set `open` to `true` to display the inline help, set the `breakout` property to `false` to disable the breakout of the inline help content, set `outset` to `false` to display the help text inline (inset) instead of the default outset behavior, or use `renderAs` set to `dialog` to render the content in a [Dialog](/uilib/components/dialog/) (recommended for larger amounts of content).',
3131
type: 'object',
3232
status: 'optional',
3333
},

packages/dnb-eufemia/src/extensions/forms/Value/ValueDocs.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { PropertiesTableProps } from '../../../shared/types'
2+
import { FieldBlockProperties } from '../FieldBlock/FieldBlockDocs'
23

34
export const ValueProperties: PropertiesTableProps = {
45
value: {
@@ -21,11 +22,7 @@ export const ValueProperties: PropertiesTableProps = {
2122
type: 'boolean',
2223
status: 'optional',
2324
},
24-
help: {
25-
doc: 'Provide help content for the field using `title` and `content` as a string or React.Node. Additionally, you can set `open` to `true` to display the inline help, set the `breakout` property to `false` to disable the breakout of the inline help content, or use `renderAs` set to `dialog` to render the content in a [Dialog](/uilib/components/dialog/) (recommended for larger amounts of content).',
26-
type: 'object',
27-
status: 'optional',
28-
},
25+
help: FieldBlockProperties.help,
2926
transformLabel: {
3027
doc: 'Transforms the label before it gets displayed. Receives the label as the first parameter. The second parameter is a object containing the `convertJsxToString` function.',
3128
type: 'function',

0 commit comments

Comments
 (0)