all repos — caroster @ e4e8e502dbe63734eaddaf087cb82d3a28e39d40

[Octree] Group carpool to your event https://caroster.io

fix: :adhesive_bandage: Show required name field with red border for new trip

#547
Tim Izzo tim@octree.ch
Tue, 19 Nov 2024 10:12:08 +0100
commit

e4e8e502dbe63734eaddaf087cb82d3a28e39d40

parent

0ab7f5d8df1c02565c87b4156233b83e3de6f74d

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M frontend/containers/NewTravelDialog/index.tsxfrontend/containers/NewTravelDialog/index.tsx

@@ -137,7 +137,7 @@ onChange={e => setName(e.target.value)}

name="name" id="NewTravelName" required - error={name && !name?.trim()} + error={!name?.trim()} helperText={ name && !name?.trim() && t('travel.creation.travel.titleHelper') }
M frontend/locales/constants.tsfrontend/locales/constants.ts

@@ -1,9 +1,9 @@

export const langLocales = { en: 'English (100%)', fr: 'Français (100%)', - nl: 'Nederlands (97%)', - de: 'Deutsch (97%)', - it: 'Italiano (97%)', + nl: 'Nederlands (99%)', + de: 'Deutsch (99%)', + it: 'Italiano (99%)', }; export const langs = Object.keys(langLocales);