fix(sat): give the satellite field its chevron
It has been a combobox since it was written, but without showToggle it opens only on a keystroke or ArrowDown — both of which have to be known about first. On screen it is a text box, which is exactly what 'still no dropdown' meant. allowFreeText with it: the list is the station's own, so a bird worked once and never added must still be loggable.
This commit is contained in:
@@ -489,10 +489,17 @@ export function DetailsPanel({ callsign, prefix, operatorGrid, remoteGrid, qth,
|
|||||||
remembered spelling beats a fresh one every pass — but a bird
|
remembered spelling beats a fresh one every pass — but a bird
|
||||||
worked once and never added to the list must not be
|
worked once and never added to the list must not be
|
||||||
impossible to log. */}
|
impossible to log. */}
|
||||||
|
{/* showToggle: without the chevron this control is a text box that
|
||||||
|
happens to open on a keystroke, which nobody discovers — and
|
||||||
|
is exactly what "there is still no dropdown" meant.
|
||||||
|
allowFreeText: the list is the station's own, so a bird
|
||||||
|
worked once and never added to it must still be loggable. */}
|
||||||
<Combobox
|
<Combobox
|
||||||
value={details.sat_name}
|
value={details.sat_name}
|
||||||
options={satellites}
|
options={satellites}
|
||||||
placeholder={t('detp.satName')}
|
placeholder={t('detp.satName')}
|
||||||
|
showToggle
|
||||||
|
allowFreeText
|
||||||
onChange={(v) => onChange({ sat_name: v })}
|
onChange={(v) => onChange({ sat_name: v })}
|
||||||
/>
|
/>
|
||||||
</Field>
|
</Field>
|
||||||
|
|||||||
Reference in New Issue
Block a user