Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Account settings] "Județ" data does not save, unless "Oraș" data is also filled

未关闭
#280 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript
领域
mobile

调研方向

通过 Account settings > Account details 在 Android staging app 中复现该问题,在更改县的同时将市留空。跟踪这些字段使用的账户保存流程,并验证所选的县能够持久化,而市仍为空,包括替换现有值时也是如此。

由索引模型根据 Issue 内容生成。

描述

bug :bug: low-priority mobile-app

Description

On the mobile app, in the "Date cont" section of the account settings, if an user tries to introduce or update the "Județ" data, they can only do so if they also select a city in the "Oraș" tab. If they leave the "Oraș" tab blank, then the "Județ" data will not be saved.

Test environment

On Mobile, using the Android staging app

Preconditions

The user has an account on the Vic mobile platform, and is logged in.

Steps of Reproduction

  1. Log into the mobile application.
  2. In the "Setări cont" tab of the app, click on "Date cont".
  3. In the "Județ" section, select a county/ select a different county from the one already selected.
  4. Do not also select a city in the "Oraș" section.
  5. Click on the "Salvează" button.

Expected Result

The "Județ" section updates, showing the selected county. The "Oraș" section stays empty.

Actual Result

Neither the "Județ" section or the "Oraș" section update after clicking on the save button. If they haven't been filled before, they both remain empty sections. If they had been filled before, they revert to the previous data. For example, if originally "București" had been selected as the county and "Pipera" as the city, and the user tries to update the county to "Arad" and leave the city empty - after clicking on the "Salvează" button, it goes back to "București" and "Pipera".

Screenshots (attached bellow, in order)
1
2
3

主要语言
TypeScript
星标
3
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

code4romania/vic 的其他 Issue

查看 code4romania/vic 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。