Comments (23)
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.
I get this from regular app.
from ember-date-components.
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.
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.
@mydea It seems that action 'updateDate' doesn't trigger
from ember-date-components.
I've set renderInPlace=true and this solve the problem.
from ember-date-components.
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.
"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.
Sadly, I really can't replicate this - does e.g. ember-power-select work for you?
from ember-date-components.
What do you mean? Replace ember-basic-dropdown to ember-power-select ?
from ember-date-components.
No, I mean if other addons using ember-basic-dropdown work. Or if using ember-basic-dropdown directly works?
from ember-date-components.
Hi Guys,
I use ember-date-component but everytime i click it then always get errror like this picture.
How to solve this ??
from ember-date-components.
Can you tell me:
- What version of ember-date-components you are using
- 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)
- 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:
from ember-date-components.
-
I use ember-date-component 1.1.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 -
I just use default setting ember.
Not yet, let me try
from ember-date-components.
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.
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.
After i upgrade to version 1.1.5 (ember-basic-dropdown 1.0.0) then i got error like this when i click it
from ember-date-components.
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.
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.
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.
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.
i use 1.1.5.
let me try this version.
some update will inform soon
from ember-date-components.
Still got same error with newest version
from ember-date-components.
Related Issues (20)
- Missing Date Time Picker Placeholders HOT 3
- importCSS: false doesn't seem to work HOT 2
- getDatePicker test helper doesn't take year into consideration
- selectDate test helper HOT 1
- More options when range=true HOT 1
- .date-picker__button--focus class not being applied correctly HOT 1
- Datepicker popup misaligned when button is floated HOT 1
- Picking a date triggers a form action
- .git folder available on npm HOT 5
- Update docs to indicate value=[prop] is required HOT 1
- Suggestion: add "ember install ember-moment" to docs. HOT 4
- Dates are shown in the wrong weekday. HOT 3
- Error in 2.1.0 with min & max value HOT 1
- Ember power select breaks this addon HOT 5
- Prettier run messed up Ember.get calls HOT 2
- Is this project active? HOT 2
- time-picker button not updating after select HOT 2
- DatePicker Issue - Unable to select the dates for the second time HOT 3
- Adding other package support HOT 1
- `{{with}}` deprecation from ember-basic-dropdown v3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-date-components.