mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-27 23:09:35 +02:00
Added option to change date formatting. Added shortcuts to clear search bar
This commit is contained in:
parent
cfb471e578
commit
4ef9652ede
11 changed files with 68 additions and 13 deletions
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue