Skip to content

Commit

Permalink
feat(editor): improve dynamic input field description
Browse files Browse the repository at this point in the history
Closes #303
  • Loading branch information
smbea committed Aug 19, 2022
1 parent dc597d5 commit c21b8e1
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@ export default function InputKeyValuesSourceEntry(props) {
id
} = props;

const schema = ' [{ \n "label": "dollar", \n "value": "$" \n }] ';

const description = <div>
Define which input property to populate the values from.
<br /><br />The input property must follow this schema:
<pre>{schema}</pre>
</div>;

return [
{
id: id + '-key',
component: InputValuesKey,
label: 'Input values key',
description: 'Define which input property to populate the values from',
description,
isEdited: isTextFieldEntryEdited,
editField,
field,
Expand Down

0 comments on commit c21b8e1

Please sign in to comment.