summaryrefslogtreecommitdiff
path: root/web/source/settings/lib/form/index.js
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2023-06-13 12:21:26 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-13 12:21:26 +0200
commit8fb5a7e7f8d4201590e709989e8f0627e800c147 (patch)
tree2fb888f081584f33e198eadfcf218714c3824002 /web/source/settings/lib/form/index.js
parent[docs] Made Advanced its own section (#1883) (diff)
downloadgotosocial-8fb5a7e7f8d4201590e709989e8f0627e800c147.tar.xz
[Frontend] Settings for profile fields (#1885)
* get max emoji size from instance settings * expose (hardcoded) max amount of profile fields in instance api * basic profile field setting * fix profile field hook structure for updates * *twirls mustache* fix ze tests --------- Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
Diffstat (limited to 'web/source/settings/lib/form/index.js')
-rw-r--r--web/source/settings/lib/form/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/source/settings/lib/form/index.js b/web/source/settings/lib/form/index.js
index 1bdb2a6d4..3d5f5238b 100644
--- a/web/source/settings/lib/form/index.js
+++ b/web/source/settings/lib/form/index.js
@@ -74,6 +74,7 @@ module.exports = {
useRadioInput: makeHook(require("./radio")),
useComboBoxInput: makeHook(require("./combo-box")),
useCheckListInput: makeHook(require("./check-list")),
+ useFieldArrayInput: makeHook(require("./field-array")),
useValue: function (name, value) {
return {
name,