Open MatanEden7 opened 10 months ago
@guyDataloop @fadiDL currently smart search emits update:model-value
on blur - so should we do the same in the context of this ticket, or just undo the focus? and if it's latter - what if the user already typed something before 2nd click?
@makc-dataloop i believe we should blur (with emitting update to the model value). This specific scenario should not behave differently than the normal scenario we have which would handle this case as blurring.
Try to keep the two behaviors of clicking on the outline and clicking in the input the same
Scenario:
Clicking the smart search should open the suggestions
Clicking again will close the suggestions
Clicking the outline will open the suggestions
Clicking the outline again
Actual: Should close the suggestions
Expected: Opening the suggestions
Video: https://share.zight.com/Z4u2d40x
Link: https://rc-staging.dataloop.ai/projects/99d634a1-89bf-4d69-b201-807a29140c76/services/655b3597dec9e63d4312bb10?tab=triggers
Ticket - https://dataloop.atlassian.net/browse/DAT-57887