File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ const target = useTemplateRef("target");
3838
3939const focused = ref <boolean >(false );
4040
41+ function unFocus(): void {
42+ focused .value = false ;
43+ }
44+
4145const handleInput = useDebounceFn ((event : Event ): void => {
4246 const target = event ?.target as HTMLInputElement ;
4347 const targetValue = target ?.value ?? " " ;
@@ -110,8 +114,8 @@ if (listenToEvents) {
110114 :value =" defaultValue"
111115 @input =" handleInput"
112116 @keydown =" onKeyDown"
113- @blur =" () => focused = false "
117+ @blur =" unFocus "
114118 />
115119 <MaterialRipple :disabled =" focused" />
116120 </div >
117- </template >
121+ </template >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const atAGlanceMessages = [
1515 } ,
1616 {
1717 "title" : "%date%" ,
18- "subtitle" : "" ,
18+ "subtitle" : "What a great day to play minecraft, right? " ,
1919 } ,
2020] ;
2121
You can’t perform that action at this time.
0 commit comments