We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour:
Expected:
The text was updated successfully, but these errors were encountered:
I would like to share the workaround we are using. Please share your thoughts.
custom-paper-pikaday.js
import moment from 'moment'; import layout from 'ember-paper/templates/components/paper-input'; import PikadayInput from 'ember-paper-pikaday/components/paper-pikaday'; export default PikadayInput.extend({ layout, // Override method of PikadayMixin from ember-pikaday setPikadayDate() { const format = this.get('format'); const value = this.get('value'); if (!value) { this.get('pikaday').setDate(value, true); } else { const date = this.get('useUTC') ? moment.utc(moment(value, format).format('YYYY-MM-DD')).toDate() : moment(value, format).toDate(); this.get('pikaday').setDate(date, true); } }, });
Sorry, something went wrong.
No branches or pull requests
Behaviour:
Expected:
The text was updated successfully, but these errors were encountered: