feat(economy): simplify category label and add placeholder for input fields
This commit is contained in:
@@ -230,12 +230,13 @@ async function showBaseModal(i: ButtonInteraction, state: AchievementState, edit
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: ComponentType.Label,
|
type: ComponentType.Label,
|
||||||
label: 'Categoría (mining/fishing/combat/economy/crafting)',
|
label: 'Categoría',
|
||||||
component: {
|
component: {
|
||||||
type: ComponentType.TextInput,
|
type: ComponentType.TextInput,
|
||||||
customId: 'category',
|
customId: 'category',
|
||||||
style: TextInputStyle.Short,
|
style: TextInputStyle.Short,
|
||||||
required: false,
|
required: false,
|
||||||
|
placeholder: '(mining/fishing/combat/economy/crafting)',
|
||||||
value: state.category || 'economy'
|
value: state.category || 'economy'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -237,12 +237,13 @@ async function showBaseModal(i: ButtonInteraction, state: QuestState, editorMsg:
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: ComponentType.Label,
|
type: ComponentType.Label,
|
||||||
label: 'Categoría (mining/fishing/combat/economy/crafting)',
|
label: 'Categoría',
|
||||||
component: {
|
component: {
|
||||||
type: ComponentType.TextInput,
|
type: ComponentType.TextInput,
|
||||||
customId: 'category',
|
customId: 'category',
|
||||||
style: TextInputStyle.Short,
|
style: TextInputStyle.Short,
|
||||||
required: false,
|
required: false,
|
||||||
|
placeholder: "(mining/fishing/combat/economy/crafting)",
|
||||||
value: state.category || 'mining'
|
value: state.category || 'mining'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user