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
2 files changed,
4 insertions(+),
4 deletions(-)
M
frontend/containers/NewTravelDialog/index.tsx
→
frontend/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.ts
→
frontend/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);