@hw-component/form 1.10.12 → 1.10.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.css
CHANGED
|
@@ -313,6 +313,10 @@
|
|
|
313
313
|
.ant-hw-input-group-no-addon .ant-hw-input-group-number-body {
|
|
314
314
|
border-radius: 2px;
|
|
315
315
|
}
|
|
316
|
+
.ant-form-item-has-error .ant-hw-addon {
|
|
317
|
+
color: #ff4d4f;
|
|
318
|
+
border-color: #ff4d4f;
|
|
319
|
+
}
|
|
316
320
|
.ant-hw-rich-editor {
|
|
317
321
|
box-sizing: border-box;
|
|
318
322
|
width: 100%;
|
package/lib/index.css
CHANGED
|
@@ -313,6 +313,10 @@
|
|
|
313
313
|
.ant-hw-input-group-no-addon .ant-hw-input-group-number-body {
|
|
314
314
|
border-radius: 2px;
|
|
315
315
|
}
|
|
316
|
+
.ant-form-item-has-error .ant-hw-addon {
|
|
317
|
+
color: #ff4d4f;
|
|
318
|
+
border-color: #ff4d4f;
|
|
319
|
+
}
|
|
316
320
|
.ant-hw-rich-editor {
|
|
317
321
|
box-sizing: border-box;
|
|
318
322
|
width: 100%;
|
package/package.json
CHANGED
package/src/pages/Form/index.tsx
CHANGED
|
@@ -101,9 +101,11 @@ export default () => {
|
|
|
101
101
|
{
|
|
102
102
|
label: "文字1",
|
|
103
103
|
name: "wz1",
|
|
104
|
-
type:"
|
|
104
|
+
type:"datePicker",
|
|
105
|
+
rules:[{required:true}],
|
|
105
106
|
itemProps:{
|
|
106
|
-
format:"HH:mm"
|
|
107
|
+
format:"HH:mm",
|
|
108
|
+
addonAfter:"测试"
|
|
107
109
|
}
|
|
108
110
|
},
|
|
109
111
|
// {
|