Skip to content
New issue

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

Unable to pass locale #32

Open
LeviDooley opened this issue Oct 1, 2018 · 2 comments
Open

Unable to pass locale #32

LeviDooley opened this issue Oct 1, 2018 · 2 comments

Comments

@LeviDooley
Copy link

Passing locale doesn't seem to do anything to the calendar. I double checked that the parent component is setting locale to 'es', but the resulting calendar stays in english.

{{#power-datepicker 
    horizontalPosition="right" 
    selected=selected 
    locale=locale 
    onSelect=(action 'onSelect') 
    as |dp|}}

    {{#dp.trigger tabindex="-1"}}
        <input type="text" class="my-input-class" readonly value={{dateText}}>
        {{fa-icon 'caret-down'}}
    {{/dp.trigger}}

    {{#dp.content class="datepicker-small datepicker-right"}}
        {{dp.nav}}

        {{dp.days maxDate=maxDate}}
    {{/dp.content}}
{{/power-datepicker}}
@raphpap
Copy link

raphpap commented Feb 28, 2019

I'm having the same issue. Did you manage to solve it?

@cibernox
Copy link
Owner

@raphpap are you on the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants