Skip to content

Untitled is displayed when the original record primary key value of the related column is empty #10067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
zxhd863943427 opened this issue Jan 3, 2024 · 6 comments
Assignees
Milestone

Comments

@zxhd863943427
Copy link
Contributor

zxhd863943427 commented Jan 3, 2024

database 关联时,假如原表中主键为空值,会显示出id

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

如图所示:
图片

Expected result

我个人是希望显示空白值,但是这样确实就找不到了对应的列了,不知道这个是不是bug。

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.12.0
- Operating System: win10 
- Browser (if used):

Log file

无需日志

More information

No response

@88250
Copy link
Member

88250 commented Jan 3, 2024

似乎显示 Untitled 要更好一些?

@88250 88250 self-assigned this Jan 3, 2024
@zxhd863943427
Copy link
Contributor Author

这也可以,话说notion、flowus、wolai是怎么处理的?

@zxhd863943427
Copy link
Contributor Author

notion是直接不显示这一条了……

@zxhd863943427
Copy link
Contributor Author

我去问一下胖哥吧,看看wolai、flowus之类的是怎么处理的

@zxhd863943427
Copy link
Contributor Author

哦还有一个刚刚发现的问题我就不打算单独开issue了,在不编辑的情况下,relation返回的默认值是null,而不是空列表[ ],这会导致属性面板出错的
图片
图片

@88250
Copy link
Member

88250 commented Jan 3, 2024

收到。

@88250 88250 added this to the 2.12.1 milestone Jan 3, 2024
@88250 88250 changed the title database 关联时,假如原表中主键为空值,会显示出id Untitled is displayed when the original record primary key value of the related column is empty Jan 3, 2024
@88250 88250 removed their assignment Jan 3, 2024
Vanessa219 added a commit that referenced this issue Jan 4, 2024
Vanessa219 added a commit that referenced this issue Jan 4, 2024
Vanessa219 added a commit that referenced this issue Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants