-
Notifications
You must be signed in to change notification settings - Fork 23
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
ui: date-picker - add support for Reactive Forms #1146
Milestone
Comments
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 1, 2019
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 5, 2019
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 5, 2019
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 7, 2019
…d Validator ISSUES CLOSED: #1146 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 7, 2019
…d Validator ISSUES CLOSED: #1146 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 7, 2019
…d Validator ISSUES CLOSED: #1146 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 14, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 14, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 14, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 14, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 14, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 14, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 15, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 15, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 15, 2019
…atFormFieldControl, Validator and starkTimestampMask directive ISSUES CLOSED: #1146, #1180 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 15, 2019
…atFormFieldControl, Validator and starkTimestampMask directive * add `dateMask` input binding to date-picker. It allows to use timestampMask directive. * add `required` input binding. ISSUES CLOSED: #1146 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
SuperITMan
referenced
this issue
in SuperITMan/stark
Mar 18, 2019
…atFormFieldControl, Validator and starkTimestampMask directive * add `dateMask` input binding to date-picker. It allows to use timestampMask directive. * add `required` input binding. ISSUES CLOSED: #1146 BREAKING CHANGE: stark-date-picker now integrates ControlValueAccessor and Validator: - The following Input have been changed: - **date** is now **value** - **maxDate** is now **max** - **minDate** is now **min** - **label** is now **placeholder** (the date-picker does not translate the placeholder anymore, it has to be done by the developer when passing the value --> `[placeholder]="'MY_TRANSLATION_KEY' | translate"`) - **isDisabled** is now **disabled** - The output **dateChanged** is now **dateChange** - **dateInput** Output has been added and now the date-picker Input/Output are similar to the ones of MatDatepicker component - We respect now the Constraint validation standards. See: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation#Validation-related_attributes
christophercr
changed the title
ui: date-pickers - add support for Reactive Forms
ui: date-picker - add support for Reactive Forms
Mar 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
Current behavior
Currently the Stark date-picker works only with the legacy "model driven" approach which means that it relies in the
ngModel
. However, since Angular2+ apart from these type of forms there are the Reactive Forms, which are more powerful than model driven forms.Expected behavior
The Stark date-picker should work with Reactive Forms so the developer can define the form control to be bound to the picker and set/read the value himself.
What is the motivation / use case for changing the behavior?
Provide an easy to use, flexible and yet powerful date-picker component.
The text was updated successfully, but these errors were encountered: