• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

carlobeltrame / ecamp3 / 15472550130
54%
devel: 43%

Build:
Build:
LAST BUILD BRANCH: fix-checklist-order-after-copying-template
DEFAULT BRANCH: devel
Ran 05 Jun 2025 04:40PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
  cancel
15472550130

push

github

carlobeltrame
Backtrack on using broken composition api

Before this commit, all "required" validations in all dialogs were
broken and would always show an error even when the fields were filled.
As far as I can tell this was because of a strange interplay between
vee-validate in the version we are using and reactive() or ref() of the
Vue reactivity system.

Before this commit, entityData (the local state defined in the base
dialog) was extracted into a composable useEntityData. All dialogs
inheriting from the base dialog would have a
v-model="entityData.someField" on their e-text-fields. Vee-validate
then was not aware of any contents filled into the text fields, and
would always treat the value as "" (empty string). Therefore, the
required validations would always fail and prevent the dialog forms from
being submitted.

The situation was also not made better due to our inheritance structure
(extends: DialogBase in all the dialogs), which is not really supported
when using the composition API. So parts of the base class had to be
re-implemented in some of the specific dialogs.

In this commit, we remove the useEntityData composable again and return
to the options API. The only reason we needed access to entityData in
the composition API was that we have to call one setter method when an
entity URL from the clipboard is resolved. So we cheat a little bit here
and gain access to the options API method through getCurrentInstance(),
which is undocumented but well known. This might break in the future,
but it's still way better than dealing with compatibility bugs in an
outdated version of vee-validate until we can finally upgrade to Vue 3.
Source Files on build 15472550130
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #15472550130
  • 41c08a99 on github
  • Prev Build on copy-camp-with-composition-api (#15467029184)
  • Next Build on copy-camp-with-composition-api (#15495303678)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc