Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

frontile.dev/docs/forms/<ChangesetForm> not rendering #113

Open
hotsoft-desenv4 opened this issue Jan 6, 2021 · 0 comments
Open

frontile.dev/docs/forms/<ChangesetForm> not rendering #113

hotsoft-desenv4 opened this issue Jan 6, 2021 · 0 comments

Comments

@hotsoft-desenv4
Copy link
Contributor

Describe the bug
I've tried to use frontline / addon, but addon throws error message and not render the form.

Error-1

vendor.js:60092 
Error occurred while rendering:

- While rendering:
  application
    centro_custos/new
      centro-custos/centro-custos-form
        changeset-form

Error-2

vendor.js:43391 
Uncaught (in promise) Error: Assertion Failed: @changeset must be defined on <ChangesetForm> component
    at Object.assert (vendor.js:43391)
    at new ChangesetForm (vendor.js:101616)
    at EmberGlimmerComponentManager.createComponent (vendor.js:104267)
    at EmberGlimmerComponentManager.createComponent (vendor.js:104541)
    at vendor.js:15782
    at deprecateMutationsInTrackingTransaction (vendor.js:61496)
    at CustomComponentManager.create (vendor.js:15781)
    at Object.evaluate (vendor.js:57070)
    at AppendOpcodes.evaluate (vendor.js:55866)
    at LowLevelVM.evaluateSyscall (vendor.js:59047)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://frontile.dev/docs/changeset-form/usage'
  2. Copy the code snippet from components/form-data-model.js and paste on app/components/centro-custos/centro-custos-form.js
  3. Copy the code snippet from components/standard.hbs and paste on app/components/centro-custos/centro-custos-form.hbs
    4.Then click on 'http://0.0.0.0:4200/centro_custos/new'
  4. See error

Expected behavior
I was expected the render of the form with your input field

Screenshots
image

hotsoft-desenv4 added a commit that referenced this issue Jan 6, 2021
Not rendered: frontile forms ChangesetForm
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant