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

e-date and c-date-picker #131

Closed
patric-eberle opened this issue Jan 15, 2021 · 2 comments
Closed

e-date and c-date-picker #131

patric-eberle opened this issue Jan 15, 2021 · 2 comments
Assignees
Labels
components New components to add or enhancements on exiting components enhancement New feature or request high priority vue-3 Will only be done for the vue-3 version

Comments

@patric-eberle
Copy link
Member

patric-eberle commented Jan 15, 2021

For IV we created two new components to handle date inputs. Since they contain no specific functionality (except for v-focus), it should be save to copy them into the boilerplate.

e-date

  • Accepts a date string and returns a date object
  • Date string format is based on the users sytem settings
  • Can have an inline label and icon if required

c-date-picker

  • Uses Pikaday
  • Allows to select a single date or a range of dates

e-input

  • Make sure internalValue gets updated when input value changes (watch)
@patric-eberle patric-eberle added the enhancement New feature or request label Jan 15, 2021
@janwidmer janwidmer added the components New components to add or enhancements on exiting components label Oct 5, 2021
@patric-eberle patric-eberle pinned this issue Mar 26, 2022
@patric-eberle patric-eberle added this to To do in Vue Template Jan 5, 2023
@patric-eberle patric-eberle added vue-3 Will only be done for the vue-3 version vue-2 Will only be needed for vue-2 labels Jan 6, 2023
@BeneRichi BeneRichi moved this from To do to In progress in Vue Template Jan 9, 2023
@BeneRichi BeneRichi moved this from In progress to Code Review in Vue Template Jan 12, 2023
@BeneRichi BeneRichi assigned patric-eberle and unassigned BeneRichi Jan 12, 2023
@patric-eberle patric-eberle moved this from Code Review to In progress in Vue Template Jan 19, 2023
BeneRichi added a commit that referenced this issue Jan 20, 2023
…<cDatePicker /> - rename form data properties to startDate and endDate and make them equal with today's date as default
BeneRichi added a commit that referenced this issue Jan 20, 2023
…d height of an e-icons with the size attribute - separate nested if statements to simplify readability - rewrite comments
@BeneRichi BeneRichi moved this from In progress to Code Review in Vue Template Jan 20, 2023
@BeneRichi BeneRichi moved this from Code Review to In progress in Vue Template Jan 20, 2023
BeneRichi added a commit that referenced this issue Jan 20, 2023
…" to be used inside the options object in the new VueI18n instance - call i18n.setDateTimeFormat() after fetching current page locale
BeneRichi added a commit that referenced this issue Jan 20, 2023
…t in "const dateTimeFormats" to be used inside the options object in the new VueI18n instance - call i18n.setDateTimeFormat() after fetching current page locale
@BeneRichi BeneRichi moved this from In progress to Code Review in Vue Template Jan 25, 2023
@BeneRichi BeneRichi moved this from Code Review to In progress in Vue Template Jan 25, 2023
BeneRichi added a commit that referenced this issue Jan 30, 2023
…fter code block - removed duplicated keypress event - changed background color of date fields from color-grayscale-800 to 600 - changed color of date input field's labels - removed color shade 800 from _color.scss - move static attribute without value after static one with value - add form.date value property to make it a directive - changed input field width

Signed-off-by: BeneRichi <benedict.ritschel@cec.valantic.com>
@BeneRichi BeneRichi moved this from In progress to Code Review in Vue Template Feb 1, 2023
@BeneRichi BeneRichi moved this from Code Review to In progress in Vue Template Feb 1, 2023
BeneRichi added a commit that referenced this issue Feb 1, 2023
…color-grayscale--700 from _color.scss to reduce color classes

Signed-off-by: BeneRichi <benedict.ritschel@cec.valantic.com>
@BeneRichi BeneRichi moved this from In progress to Code Review in Vue Template Feb 1, 2023
@BeneRichi BeneRichi assigned patric-eberle and unassigned BeneRichi Feb 1, 2023
@patric-eberle patric-eberle removed the vue-2 Will only be needed for vue-2 label Feb 3, 2023
@patric-eberle patric-eberle moved this from Code Review to To do in Vue Template Feb 3, 2023
@patric-eberle
Copy link
Member Author

Can also be merged to Vue 3.

@BeneRichi BeneRichi moved this from To do to In progress in Vue Template Feb 6, 2023
BeneRichi added a commit that referenced this issue Feb 7, 2023
@BeneRichi BeneRichi moved this from In progress to Code Review in Vue Template Feb 7, 2023
@BeneRichi BeneRichi moved this from Code Review to In progress in Vue Template Feb 8, 2023
BeneRichi added a commit that referenced this issue Feb 8, 2023
…ugin - adds get-localized-date-format.ts and add type declaration - installs @types/pikaday dependency
@patric-eberle
Copy link
Member Author

Vue 2 variant is available, but it was not migrated to Vue 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
components New components to add or enhancements on exiting components enhancement New feature or request high priority vue-3 Will only be done for the vue-3 version
Projects
Development

No branches or pull requests

4 participants