add autofocus to place search

This commit is contained in:
Marco Pasquali
2026-04-10 11:05:10 +02:00
parent 0df90086bf
commit abc5ee2aa7
@@ -236,6 +236,7 @@ export default function PlaceFormModal({
onChange={e => setMapsSearch(e.target.value)}
onKeyDown={e => e.key === 'Enter' && (e.preventDefault(), handleMapsSearch())}
placeholder={t('places.mapsSearchPlaceholder')}
autoFocus
className="flex-1 border border-slate-200 rounded-lg px-3 py-1.5 text-sm focus:outline-none focus:ring-2 focus:ring-slate-400 bg-white"
/>
<button