-
Antd iconfont localization failed, do you have any success? Ask for guidance [premise: use parceljs]
tried all three methods: ...
-
How to get the name of input by embedding input in ant design table
...
-
Antd uses complex dynamic forms. Times error.
The structure of the data is like this, and you need to use this to generate a form like this
{
name: ,
groups: [
{
groupName: ,
state: 1, 1 0
isOpen: 1, 1 0
...
-
How to create a new line in the Table of ant design
this is the effect
...
-
How to use Select components in ant design in ant design mobile
in using ant design mobile, you need to use the kind of Select component in antd, but it is not in ant design mobile. What should I do ...
-
Ant design tabbar's icon does not display
import mineIcon from .. assets image icon mine.png ;
import mineDarkIcon from .. assets image icon mine_dark.png ;
import orderListIcon from .. assets image icon order_list.png ;
import orderListDarkIcon from .. assets image icon order_lis...
-
The state value obtained by dva when using antd's Modal.confirm is not real-time.
1. Problem: when using antd s Modal.confirm, put an Input, to update the txNote property in state. But as long as there is a confirm, all you get is the previous state, instead of the updated state 2 entered in the confirm. Screenshot:
3. From...
-
Can div be used in antdesign tags?
I see tabs like this in ant design pro, and each tag is a div , but I don t see this type of tag in the official document. How should I implement this? ...
-
How to set valuePropName and initialValue of antd switch components dynamically
step 1, in parent component:
constructor(props) {
super(props);
this.state = {
checkState: checked ,
enable:true
}
}
this.setState({
checkState: unChecked ,
enable:false
})
step 2: before calling the subcompon...
-
Antd tree defaultExpandAll problem
when antd tree sets defaultExpandAll to true, it expands by default the first time it is initialized. When the tree is collapsed, the window is closed and the window is opened again, the tree remains collapsed. Then I use expandedKeys to control the nod...
-
The style problem of antdesign's Table
how to center the numbers in the picture as a whole, but each number is aligned to the right, that is, the percent sign ...
-
Select console prompt warns antd
console prompts the following warnings: Warning: the children of Select should be Select.Option or Select.OptGroup , instead of Option .
<Select
showSearch
style={{ width: 260,height: 32 }}
placehold...
-
The problem with ant design's Table
how to implement the parity line of the Table component the color is different after hover! Beg urgently! Thank you ...
-
Does antd's re-form form validation make the form uncontrolled?
using re-form with value is not valid. How can you make the form controlled? ...
-
When using getFieldDecorator for two-way form binding, if you set complex default values for the Select selector
getFieldDecorator( bindSelect , {initialValue: getFieldValue( binds ).map(item => item.title) })(
<Select mode="multiple" onDeselect={this.removeBindItem} onSelect={this.selectBindItem} filterOption={false}>
{this.state...
-
How the date selection component of antd forbids selectable dates
my aim is to ban the date before today and the date after 7 days, that is, I can only choose the time in the next seven days. My code can only be banned after seven days. How can I get rid of the date before today?
...
-
How does the ANTD tree selection control TreeSelect prohibit the selection of parents?
how to prevent the selection of parents from the TreeSelect tree selection control in Ant Financial Services Group ANTD? For example:
{
name: ,
key: first ,
children:[{
name:
key: second ,
children:[{
name: ,
key: third
...
-
How does antd achieve uniqueness verification when validating forms?
form verification needs to send a request to the background for uniqueness verification and real-time verification.
the current solution is to send a request in the onBlur of input.
but the experience is not good. Every time onBlur, the page will fl...
-
After secondary encapsulation of Select with ant design, how to reset the value of select after render
export class ProjectList extends Component{
constructor(props){
super(props)
this.state={
project:[],
}
}
componentDidMount(){
axios.get( http: 127.0.0.1:9090 pro pList ).then(res =>{
...
-
On the Table problem in antd antd
the following Table page, for example, when the page is initialized, you want to judge according to the age of Age. For example, if you mark the text red if it is greater than or equal to 30, it seems to me that the attribute method under table has not ...