Giter Club home page Giter Club logo

Comments (23)

mydea avatar mydea commented on July 17, 2024

Did you get this from tests? In a regular app, an addon or in an engine? I had a similar issue with tests in an engine, which I was able to fix like this: ember-engines/ember-engines#525 (comment)

from ember-date-components.

alexborovkov avatar alexborovkov commented on July 17, 2024

I get this from regular app.

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

Just when running it, or during tests? Could you copy the content of your package.json in here? And maybe the full stack trace of the error?

from ember-date-components.

alexborovkov avatar alexborovkov commented on July 17, 2024

I've installed ember-basic-dropdown and error gone. But when I select some value in calendar, input value doesn't update.
I use default config
{{date-picker range=true action=(action 'updateDate')}}

from ember-date-components.

alexborovkov avatar alexborovkov commented on July 17, 2024

@mydea It seems that action 'updateDate' doesn't trigger

from ember-date-components.

alexborovkov avatar alexborovkov commented on July 17, 2024

I've set renderInPlace=true and this solve the problem.

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

None of this should really be necessary. ember-basic-dropdown should be included via the dependencies, and the action should normally work - I tried again in the dummy app, where everything works fine. Which versions of ember and ember-cli are you using?

from ember-date-components.

alexborovkov avatar alexborovkov commented on July 17, 2024

"ember-source": "2.13.3",
"ember-cli": "2.11.0",

Also I can't select month and year. I think this related to renderInPlace option too. I suppose you need to transfer this option to inner date-picker-month-year-select component.

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

Sadly, I really can't replicate this - does e.g. ember-power-select work for you?

from ember-date-components.

alexborovkov avatar alexborovkov commented on July 17, 2024

What do you mean? Replace ember-basic-dropdown to ember-power-select ?

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

No, I mean if other addons using ember-basic-dropdown work. Or if using ember-basic-dropdown directly works?

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

Hi Guys,
I use ember-date-component but everytime i click it then always get errror like this picture.
How to solve this ??

screen shot 2018-08-09 at 4 45 39 pm

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

Can you tell me:

  1. What version of ember-date-components you are using
  2. What version of ember-basic-dropdown you are using (if you use yarn, you can find the exact version in the yarn.lock file, or you could just look into your node_modules folder and search for it there, in the package.json file you'll see the version)
  3. Anything special about your env? How you start it, which environment (development/test/...)?

Also, does this code work for you, if you put it in a template:

{{#basic-dropdown as |dropdown|}}
  {{#dropdown.trigger}}Click me{{/dropdown.trigger}}
  {{#dropdown.content}}Content of the trigger{{/dropdown.content}}
{{/basic-dropdown}}

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024
  1. I use ember-date-component 1.1.2

  2. In my package.json there is no ember-basic-dropdown
    But, in package-lock.json there is ember-basic-dropdown 0.34.0 as a dependency of ember-date-component

  3. I just use default setting ember.

Not yet, let me try

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

This addon depends on ember-basic-dropdown 1.x (which is also in its dependencies) - maybe some other addon or similar uses ember-basic-dropdown 0.34? I guess this could lead to this issue.

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

So what should i do?

Should i install ember-basic-dropdown by package.json or modified the dependencies by package-lock.json??

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

After i upgrade to version 1.1.5 (ember-basic-dropdown 1.0.0) then i got error like this when i click it

screen shot 2018-08-10 at 12 13 57 pm

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

Dear mydea,

What i found in this addon is you missed to include ember-power-select.
without that it will showing error or missing html position.

after i added ember-power-select then nothing error and nothing miss html position.

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

Hmm, this does not depend on ember-power-select, but on ember-basic-dropdown.
I have an idea, though.

Could you try uninstalling ember-power-select and installing the ensure-basic-dropdown-works branch of this? (you can do this by setting the version in your package.json to "mydea/ember-basic-dropdown#ensure-basic-dropdown-works")

I tried something there, let's see if it works!

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

screen shot 2018-08-23 at 7 06 09 pm

In my local works good but I've got error basic-dropdown in my server. there's nothing special settings in my Server.
Please advice..

from ember-date-components.

mydea avatar mydea commented on July 17, 2024

Are you running the recently released 1.2.0? I made some changes there where I thought they might fix this.

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

i use 1.1.5.
let me try this version.
some update will inform soon

from ember-date-components.

stepanushariara avatar stepanushariara commented on July 17, 2024

Still got same error with newest version

from ember-date-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.