ant-design-blazor/components/date-picker
Andrzej Bakun b27e4d47a6 fix(module: datepicker): validate manually entered date against format (#1389)
* fix(module:datepicker): validate manually entered date against format

* fix(module:datepicker): keep frozen the panel until valid date entered

* fix(module:datepicker): switch to current culture format

* fix(module:datepicker): build fix

* fix(module:datepicker): use InvariantCulture when calling ToString on date

* fix(module:datepicker): FormatAnalyzer handles also year, week, month & quarter picker

* fix(module:datepicker): FormatAnalyzer broken tests

* fix: FormatAnalyzer handles prefixes in format.

Suffix is handled for picker type = "year"
Tests include validation of not changing state

* fix: all modes go through format analyzing (inluding week&quarter)

* fix(module:datepickerbase): InternalFormat initalized properly for all modes

* fix(module:rangepicker): reset opposing date when in conflict with current

* fix(module:rangePicker): handle null in second part of range

* fix(module:datepicker): switch from BindConverter to partials

* tests(module:datepicker): FormatAnalyzer new tests to cover switch from BindConverter

* tests(module:datepicker): missed change in tests

* fix: focus, key events, reset value to original if not confirmed

* fix: bug fix on range & clean-up

* Update DatePicker.razor

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-28 03:54:19 +00:00
..
internal fix(module: datepicker): validate manually entered date against format (#1389) 2021-04-28 03:54:19 +00:00
locale fix(module: datepicker): validate manually entered date against format (#1389) 2021-04-28 03:54:19 +00:00
style chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00
types feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00
DatePicker.razor fix(module: datepicker): validate manually entered date against format (#1389) 2021-04-28 03:54:19 +00:00
DatePicker.Razor.cs fix(module: datepicker): validate manually entered date against format (#1389) 2021-04-28 03:54:19 +00:00
IDatePicker.cs feat(module: date-picker): support localization (#803) 2020-11-25 11:08:12 +08:00
MonthPicker.cs fix(module: form): value not change when model change (#333) 2020-07-11 23:03:13 +08:00
QuarterPicker.cs fix(module: form): value not change when model change (#333) 2020-07-11 23:03:13 +08:00
RangePicker.razor fix(module: datepicker): validate manually entered date against format (#1389) 2021-04-28 03:54:19 +00:00
RangePicker.razor.cs fix(module: datepicker): validate manually entered date against format (#1389) 2021-04-28 03:54:19 +00:00
RangePickerDefaults.cs fix(module:date-picker): OneOf to TValue, default value for picker, optimizations (#933) 2021-01-10 13:19:07 +08:00
WeekPicker.cs fix(module: form): value not change when model change (#333) 2020-07-11 23:03:13 +08:00
YearPicker.cs fix(module: form): value not change when model change (#333) 2020-07-11 23:03:13 +08:00