Form Types
Multi Row
Soft UI
Theme Config
Form Types
Multi Row
SoftUI.formTypes.multiRow(options[]),
The options of the multi row
Data required for getActualSet function
Object
Data returned
Object | or null
Example Usage
{
optionId: 'input',
optionName: 'input',
optionDescription: 'new input',
optionType: SoftUI.formTypes.multiRow([
{
optionId: "test1",
optionName: "test1",
optionDescription: "test1",
optionType: SoftUI.formTypes.numberPicker(1, 100, false),
getActualSet: async ({guild,user}) => {
// Your code here
},
setNew: async ({guild,user,newData}) => {
// Your code here
}
},
{
optionId: "test2",
optionName: "test2",
optionDescription: "test2",
optionType: DBD.formTypes.multiSelect({"Polish": 'pl', "English": 'en', "French": 'fr'}),
getActualSet: async ({guild,user}) => {
// Your code here
},
setNew: async ({guild,user,newData}) => {
// Your code here
}
},
{
optionId: "test3",
optionName: "test3",
optionDescription: "test3",
optionType: SoftUI.formTypes.emojiPicker(false),
getActualSet: async ({guild,user}) => {
// Your code here
},
setNew: async ({guild,user,newData}) => {
// Your code here
}
}
])
},
,
Image
Was this page helpful?