diff --git a/app/imports/api/creature/properties/Skills.js b/app/imports/api/creature/properties/Skills.js index 0cdf1332..1b5e57eb 100644 --- a/app/imports/api/creature/properties/Skills.js +++ b/app/imports/api/creature/properties/Skills.js @@ -45,6 +45,7 @@ let SkillSchema = schema({ "language", "utility", //not displayed anywhere ], + defaultValue: 'skill', }, // If the baseValue is higher than the computed value, it will be used as `value` baseValue: { diff --git a/app/imports/ui/forms/EffectForm.vue b/app/imports/ui/forms/EffectForm.vue index 3a8b9d15..2b16a870 100644 --- a/app/imports/ui/forms/EffectForm.vue +++ b/app/imports/ui/forms/EffectForm.vue @@ -35,10 +35,6 @@ - - {{displayedIcon}} - + /> diff --git a/app/imports/ui/forms/SkillForm.vue b/app/imports/ui/forms/SkillForm.vue new file mode 100644 index 00000000..96421354 --- /dev/null +++ b/app/imports/ui/forms/SkillForm.vue @@ -0,0 +1,114 @@ + + + + + diff --git a/app/imports/ui/forms/components/ProficiencySelect.vue b/app/imports/ui/forms/components/ProficiencySelect.vue new file mode 100644 index 00000000..bceadec4 --- /dev/null +++ b/app/imports/ui/forms/components/ProficiencySelect.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/app/imports/ui/forms/components/propertyFormIndex.js b/app/imports/ui/forms/components/propertyFormIndex.js index 9ca9fe6c..45c1125d 100644 --- a/app/imports/ui/forms/components/propertyFormIndex.js +++ b/app/imports/ui/forms/components/propertyFormIndex.js @@ -10,6 +10,7 @@ import FolderForm from '/imports/ui/forms/FolderForm.vue'; import NoteForm from '/imports/ui/forms/NoteForm.vue'; import ProficiencyForm from '/imports/ui/forms/ProficiencyForm.vue'; import RollForm from '/imports/ui/forms/RollForm.vue'; +import SkillForm from '/imports/ui/forms/SkillForm.vue'; export default { action: ActionForm, @@ -24,4 +25,5 @@ export default { note: NoteForm, proficiency: ProficiencyForm, roll: RollForm, + skill: SkillForm, };