orma / openroads-vn-analytics

BSD 2-Clause "Simplified" License
0 stars 1 forks source link

[Bug][Search Button is not working at the second time] #566

Closed tailm1 closed 5 years ago

tailm1 commented 5 years ago

Step 1 : Go to asset Tab Step 2 : Type 214YD00001 at VProMMs search box Step 3 : Click Search Icon => Result appear Step 4 : Click to Asset Tab again to go Overview page Step 5 : click search icon again (Don't remove value in current search box) Expected Result : The result is appear again Actual Result : "No result available. Please refine your search"

batpad commented 5 years ago

Thank you for the clear report @tailm1 .

@geohacker - we should clear the search input whenever the user hits search. Not clearing it and then navigating between pages seems to cause the issue above. I think it would be most straightforward and consistent for the user if we just always clear the search input when the user hits search. I can take this on.