Merge pull request #546 from marco783/searchAutofocus

add autofocus to place search
This commit is contained in:
Maurice
2026-04-12 01:32:24 +02:00
committed by GitHub
@@ -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