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

fix: Add placement option to date/datetime picker #925

Conversation

JKMarkowski
Copy link
Contributor

@JKMarkowski JKMarkowski commented Jun 13, 2019

Please provide a link to the associated issue.

fixes #775

Please provide a brief summary of this pull request.

I added placement input to date and datetime picker.

If this is a new feature, have you updated the documentation?

I added examples on date and datetime docs.

@netlify
Copy link

netlify bot commented Jun 13, 2019

Deploy preview for fundamental-ngx ready!

Built with commit 01be2ab

https://deploy-preview-925--fundamental-ngx.netlify.com

@droshev droshev added this to the sprint 13 - Hot Pie milestone Jun 14, 2019
@@ -19,7 +19,8 @@ <h2>Range Date Picker</h2>

<separator></separator>
<h2>Internationalization</h2>
<description>It is possible to internationalize both the aria labels and the month names/weekdays through providing a service.</description>
<description>It is possible to internationalize both the aria labels and the month names/weekdays through providing a service.
There is also added <code>[position]</code> attribute which allows us to decide where popup should be shown.</description>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this note probably does not belong in the "internationalisation" section

@@ -52,7 +52,7 @@ export class CustomI18nLabels extends CalendarI18nLabels {

@Component({
selector: 'fd-datepicker-i18n-example',
template: `<fd-date-picker [(ngModel)]="selectedDay"></fd-date-picker>`,
template: `<fd-date-picker [(ngModel)]="selectedDay" [placement]="'top-end'"></fd-date-picker>`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again this probably does not belong in the i18n section but may warrant its own example

@mikerodonnell89 mikerodonnell89 self-requested a review June 17, 2019 21:33
@mikerodonnell89
Copy link
Member

@JKMarkowski would you mind fixing the merge conflicts

@JKMarkowski
Copy link
Contributor Author

@mikerodonnell89 Sure, it's done.

@droshev droshev added this to In progress in Development via automation Jun 18, 2019
Development automation moved this from In progress to Reviewer approved Jun 18, 2019
@mikerodonnell89 mikerodonnell89 merged commit a7fcb10 into SAP:master Jun 18, 2019
Development automation moved this from Reviewer approved to Done Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
board
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

Introduce placement of calendar/datetime picker
3 participants