-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Feature] InputLayoutDateTime min/max as Date/DateIsoString #1573
Labels
Milestone
Comments
ozknemoy
changed the title
[Feature]
[Feature] InputLayoutDateTime min/max as Date/DateIsoString
Apr 8, 2024
1 task
alexhawkins94
added
type:bug
Something isn't working
type:feature
and removed
type:bug
Something isn't working
labels
Apr 8, 2024
ickisIckis
pushed a commit
that referenced
this issue
Jul 3, 2024
ickisIckis
added
state:ready
ready for release (pass tested)
and removed
state:in_progress
We work on this issue
labels
Jul 10, 2024
ickisIckis
pushed a commit
that referenced
this issue
Aug 26, 2024
11 tasks
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Библиотека
@prizm-ui/components
Компонент
InputLayoutDateTime и все инпуты дат (InputLayoutDate и тд)
Предложение
проект эжко/сус очень активно использует инпуты min max в датах для ограничения невалидных значений дат. хочется чтобы они работали с форматом Date и iso string ('2022-09-06T13:56:13.757Z') без доп преобразований или оберток вокруг компонентов дат. так же как это сейчас работает для ngModel/formControl с провайдером prizmGetInputDateTimeNativeTransformer. на всякий случай допишу что null тоже может быть (юзер еще не выбрал дату в связанном инпуте)
типичный кейс: дата endDate в @input [max] может быть в формате iso (пришла с бекенда и юзер ее не менял) либо в формате Date (юзер ее выставил):
<evj-datetime-picker [maxDate]="form.get('endDate').value" formControlName="startDate"> </evj-datetime-picker>
Доп информация.
фукнкционал есть смысл реализовывать если по запросу #1574 min/max будут тоже работать с iso string
The text was updated successfully, but these errors were encountered: