Added option to change date formatting. Added shortcuts to clear search bar

This commit is contained in:
Paweł Malak
2021-10-22 15:51:11 +02:00
parent cfb471e578
commit 4ef9652ede
11 changed files with 68 additions and 13 deletions

View File

@@ -92,6 +92,18 @@ const OtherSettings = (props: ComponentProps): JSX.Element => {
onChange={(e) => inputChangeHandler(e)}
/>
</InputGroup>
<InputGroup>
<label htmlFor="useAmericanDate">Date formatting</label>
<select
id="useAmericanDate"
name="useAmericanDate"
value={formData.useAmericanDate ? 1 : 0}
onChange={(e) => inputChangeHandler(e, { isBool: true })}
>
<option value={1}>Friday, October 22 2021</option>
<option value={0}>Friday, 22 October 2021</option>
</select>
</InputGroup>
{/* BEAHVIOR OPTIONS */}
<SettingsHeadline text="App Behavior" />