Skip to content

Commit

Permalink
Merge pull request #58 from Connected-Places/bug/sc-3906/character-li…
Browse files Browse the repository at this point in the history
…mit-on-good-to-know

Set char limit on service useful info description to 1000
  • Loading branch information
appsol authored Feb 2, 2024
2 parents 11aafc0 + 836ba04 commit 73bc4d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/services/inputs/UsefulInfosInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:id="`useful_infos.${index}.description`"
label="Description"
hint="Provide detail to the title above. For example, if you picked ‘Parking’ you might say “There is no parking available on site, however there is pay and display opposite”."
:maxlength="150"
:maxlength="1000"
:error="errors.get(`useful_infos.${index}.description`)"
:extensions="extensions"
/>
Expand Down Expand Up @@ -132,7 +132,10 @@ export default {
usefulInfos.find(
usefulInfo => usefulInfo.title === usefulInfoTitleOption.value
) !== undefined;
const newOption = { ...usefulInfoTitleOption, disabled: hasBeenUsed };
const newOption = {
...usefulInfoTitleOption,
disabled: hasBeenUsed
};
this.$set(this.usefulInfoTitleOptions, index, newOption);
});
},
Expand Down

0 comments on commit 73bc4d8

Please sign in to comment.