Comments (7)
可以通过 input-attrs
属性设置
<a-input :style="{width:'320px'}" :input-attrs="{id:'demoId'}" />
from arco-design-vue.
这导致在做UI自动化测试的时候 需要依靠xpth或者其他方式定位, 不能通过id直接定位
from arco-design-vue.
可以通过
input-attrs
属性设置<a-input :style="{width:'320px'}" :input-attrs="{id:'demoId'}" />
那其他的控件没有 input-attrs 要如何处理?
from arco-design-vue.
from arco-design-vue.
可以通过
input-attrs
属性设置<a-input :style="{width:'320px'}" :input-attrs="{id:'demoId'}" />
那其他的控件没有 input-attrs 要如何处理?
其他控件是指哪些?
id
、class
等 attribute 默认透传添加到组件的根元素上。具体规则可参阅:透传 Attributes。你所提到的自动化测试似乎与组件库无关且信息很少,无法为你解答。
from arco-design-vue.
我借楼问一下,a-image
组件,想给img
标签设置loading="lazy"
有办法吗?
文档中没有像a-input
组件这样提供input-attrs
属性。
from arco-design-vue.
Thanks!
from arco-design-vue.
Related Issues (20)
- Modal mask lose the transition fade effect
- deploy-site-preview: deploy-preview was not successful
- 可编辑table能否如react版本一样通过给form加一个自定义wrappr进行校验
- 标签页tab-bar组件问题 HOT 1
- `showInput` prop of the Slider component needs support type `InputNumberProps` and `InputNumberProps[]` as Arco Design React does.
- DatePicker 组件设置 disabledDate 后,点击 picker 标题中的 [年-月] 按钮进行面板模式的切换后,单元格的禁用样式丢失了
- 希望 DatePicker 组件可以定制所有面板模式下的单元格样式
- @arco-plugins/vite-vue 采用vitePluginForArco({theme:'@arco-themes/vue-ui',style: 'css'}),postCssPxToRem的转换会无效
- Errors about the introduction method HOT 1
- a-modal 单独放到组件中,无法通过esc关闭
- 日历 Calendar的props modes参数无效
- 能否为upload组件开放tip插槽?
- 导入你们的CSS,会修改 h1 标签的默认样式
- table组件 前往页面不触发 HOT 1
- 能否给table组件增加类似react的可编辑单元格
- input组件求新增脱敏功能
- upload组件submit.md中示例代码有误
- 时间逻辑修改了dayjs的配置参数
- a-modal组件 按回车键没有反应
- 表格排序状态下拖拽调整列宽后排序会失效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arco-design-vue.