File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
showcase/app/components/page-components/filter-bar/code-fragments Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,18 @@ export default class CodeFragmentWithGenericContent extends Component<CodeFragme
208208 }
209209 }
210210
211+ onFocusOut = () => {
212+ const demoNameInput = document .getElementById (
213+ ' demo-name-2' ,
214+ ) as HTMLInputElement | null ;
215+ if (demoNameInput ) {
216+ demoNameInput .focus ();
217+ }
218+ };
219+
211220 <template >
212221 <HdsFilterBar @ filters ={{this .filters }} @ onFilter ={{this .onFilter }} as | F | >
213- <F.FiltersDropdown as | D | >
222+ <F.FiltersDropdown @ onFocusOut = {{ this .onFocusOut }} as | D | >
214223 <D.FilterGroup
215224 @ key =" single"
216225 @ text =" Single filter"
@@ -245,6 +254,7 @@ export default class CodeFragmentWithGenericContent extends Component<CodeFragme
245254 @ value ={{this .multiFilterName }}
246255 {{on " input" ( fn this . onMultiNameChange G.updateFilter ) }}
247256 name =" name-2"
257+ id =" demo-name-2"
248258 as | F |
249259 >
250260 <F.Label >Name</F.Label >
You can’t perform that action at this time.
0 commit comments