the code actually still works and the second the text box loses focus the false linter error is visually ignored everywhere (no red squigglies!! )... it's in the console still so some CI/CDs or test pipelines might flag it.
Thanks for flagging! Glad it works still