Add missing hints
This commit is contained in:
parent
6bee659f2f
commit
ebe741dc92
|
@ -39,6 +39,7 @@ export const fields = [
|
||||||
'optional if from ',
|
'optional if from ',
|
||||||
React.createElement('a', { href: 'https://en.wikipedia.org/wiki/Certificate_authority', target: '_blank', rel: 'noreferrer' }, 'CA'),
|
React.createElement('a', { href: 'https://en.wikipedia.org/wiki/Certificate_authority', target: '_blank', rel: 'noreferrer' }, 'CA'),
|
||||||
' (e.g. voltage)'),
|
' (e.g. voltage)'),
|
||||||
|
hint: 'hex or base64 encoded',
|
||||||
clear: true
|
clear: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -97,7 +97,7 @@ export default function WalletSettings () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function WalletFields ({ wallet: { config, fields } }) {
|
function WalletFields ({ wallet: { config, fields } }) {
|
||||||
return fields.map(({ name, label, type, help, optional, hint, ...props }, i) => {
|
return fields.map(({ name, label, type, help, optional, ...props }, i) => {
|
||||||
const rawProps = {
|
const rawProps = {
|
||||||
...props,
|
...props,
|
||||||
name,
|
name,
|
||||||
|
|
Loading…
Reference in New Issue