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

frontile.dev/docs/forms/form-select not rendering #86

Open
hotsoft-desenv4 opened this issue Dec 28, 2020 · 1 comment
Open

frontile.dev/docs/forms/form-select not rendering #86

hotsoft-desenv4 opened this issue Dec 28, 2020 · 1 comment

Comments

@hotsoft-desenv4
Copy link
Contributor

hotsoft-desenv4 commented Dec 28, 2020

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

Error-1

Error occurred while rendering:

- While rendering:
  application
    tipo_produtos/new
      tipo-produtos/tipo-produtos-form
        form-select
          form-field

Error-2

vendor.js:43391 Uncaught (in promise) Error: Assertion Failed: {{form-field}} requires an object property to be passed in
    at assert (vendor.js:43391)
    at Class.didReceiveAttrs (vendor.js:119591)
    at Class.superWrapper [as didReceiveAttrs] (vendor.js:38092)
    at Class.trigger (vendor.js:40686)
    at Class.superWrapper [as trigger] (vendor.js:38092)
    at CurlyComponentManager.create (vendor.js:14542)
    at Object.evaluate (vendor.js:57070)
    at AppendOpcodes.evaluate (vendor.js:55866)
    at LowLevelVM.evaluateSyscall (vendor.js:59047)
    at LowLevelVM.evaluateInner (vendor.js:59003)

To Reproduce
Steps to reproduce the behavior:

  1. Go to "https://frontile.dev/docs/forms/form-select"
  2. Copy the code snippet from components/single.hbs and paste on app/components/tipo-produtos/tipo-produtos-form.hbs
  3. Copy the code snippet from components/single.hbs and paste on app/components/tipo-produtos/tipo-produtos-form.js
  4. Click on '.http://0.0.0.0:4200/tipo_produtos/new...'
  5. See error

Expected behavior
I was expected the render of the form with your selects options

Screenshots
image

hotsoft-desenv4 added a commit that referenced this issue Dec 28, 2020
Not rendered: frontile forms form-select
@hotsoft-desenv4
Copy link
Contributor Author

e59f357

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