Code Monkey home page Code Monkey logo

fix:【CMDB+v3.13.2-feature-layered1】新建主机和集群/模块自定义字段,设置对应默认值后,在对应主机详情和集群节点信息下查看对应的字段直接显示了默认值,应该点击编辑后在显示默认值 about bk-cmdb HOT 3 CLOSED

testqwerts avatar testqwerts commented on June 13, 2024
fix:【CMDB+v3.13.2-feature-layered1】新建主机和集群/模块自定义字段,设置对应默认值后,在对应主机详情和集群节点信息下查看对应的字段直接显示了默认值,应该点击编辑后在显示默认值

from bk-cmdb.

Comments (3)

testqwerts avatar testqwerts commented on June 13, 2024

@yangyy 现在新增集群/模块自定义字段并设置默认值后,查看业务拓扑下集群和模块对应字段,点击编辑后并没有显示默认值
image
image
集群--节点信息点击编辑后:
image
模块--节点信息点击编辑后:
image

from bk-cmdb.

yangyy avatar yangyy commented on June 13, 2024

编辑时不自动填入默认值,仅在“创建”时填入,后期针对默认值填写交互会再专门优化

from bk-cmdb.

reggieisrunning avatar reggieisrunning commented on June 13, 2024

@testqwerts @yangyy @zc422
结论:维持原先的交互形式,编辑字段场景下,输入某人不填充默认值,只在新建场景下出现默认值即可。yunyao会将编辑场景下字段出现默认值这个修复从版本里下掉
原因:在编辑场景下,对于“值为空”的字段直接填充默认值会让用户误认为这个字段是有值的,这个交互过于强势,会按照新单据跟进这个场景。

from bk-cmdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.