Commit f858fd8
refactor(ui5-input): Add hook for value update on preview (#1956)
Added extension point to allow extending components control the behaviour on suggestion preview. The default behaviour of the Input with suggestions is to replace the current value with the value of the previewed suggestion, when the user navigates with UP/DOWN arrows. But, there are use cases as in the attached issue, that instead of replacing the entire text, just part of it has to be replaced, changed or added to.
FIXES: #18781 parent e8236c6 commit f858fd8
1 file changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
| 697 | + | |
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
792 | 788 | | |
793 | 789 | | |
794 | 790 | | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
795 | 799 | | |
796 | 800 | | |
797 | 801 | | |
| |||
936 | 940 | | |
937 | 941 | | |
938 | 942 | | |
939 | | - | |
| 943 | + | |
940 | 944 | | |
941 | 945 | | |
942 | 946 | | |
| |||
0 commit comments