Commit f01edcf
Fix Calendar displaying value when controlled state is not updated (#8457)
* Fix Calendar showing value when controlled state is not updated
* Fix lint issues in Calendar controlled value sync
* Fix unstable updateInputfield dependency via ref
* Fix: stabilize updateInputfield ref to satisfy hooks lint
* Refactor useEffect for input field update
---------
Co-authored-by: Melloware <mellowaredev@gmail.com>1 parent 01d2fdf commit f01edcf
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
1771 | 1772 | | |
1772 | 1773 | | |
1773 | 1774 | | |
1774 | | - | |
1775 | | - | |
1776 | 1775 | | |
1777 | 1776 | | |
1778 | 1777 | | |
| |||
2562 | 2561 | | |
2563 | 2562 | | |
2564 | 2563 | | |
| 2564 | + | |
| 2565 | + | |
2565 | 2566 | | |
2566 | 2567 | | |
2567 | 2568 | | |
| |||
3037 | 3038 | | |
3038 | 3039 | | |
3039 | 3040 | | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
3040 | 3047 | | |
3041 | 3048 | | |
3042 | 3049 | | |
| |||
0 commit comments