Questions tagged [ant-design-pro]
482 questions
0
votes
1 answer
How to nest the Ant Design grid?
I had created two columns(6-span), and I want to add a component under these two columns, how can I do that?
I'm used to be an android developer. I know that the linear layout can quickly realize this demand in android.
Framework developer told me…

HZ-VUW
- 842
- 9
- 20
0
votes
0 answers
Problem data bind with ant table checkbox in vue
I am new to vue ant design. I have a problem in data-bind in table checkbox.
I am using vue ant design table,
here my code
…

Lakmi
- 1,379
- 3
- 16
- 27
0
votes
0 answers
Deploy under subdirectory instead /
I would like to deploy ant design pro, under subfolder,
eg: http://localhost/ant
but ant still using / instead /ant for css and js resources

Ahmad Nazirul
- 63
- 1
- 1
- 10
0
votes
0 answers
OptGroup rendered in class onChange
I have an autosuggest function that I am exporting and rendering within the App class, however - it is not functioning properly when trying to set the state of App onChange.
Say I have the following code in App
class App extends React.Component {
…

ulsha
- 47
- 6
0
votes
1 answer
Select just one row in ant-design table component
i'm having a problem and need some help. We are using ant-design library in our project. https://ant.design/components/table The component we should use is a table. When i click on a row i must trigger an action. However i must check only one row…

RamAlx
- 6,976
- 23
- 58
- 106
0
votes
1 answer
Ant Design: Why are customized form components automatically validated as successful?
I've noticed that customized form components are automatically rendered with the has-success attribute. Why is this? Is there a way to fix this?

Wilhelm
- 1,407
- 5
- 16
- 32
0
votes
1 answer
how to add a icon in antd cascader children options' label
i want to add a icon to children's label. and it can be clicked for edit something.
antd version : 3.9.2
const options = [{
value: 'zhejiang',
label: 'Zhejiang',
children: [{
value: 'hangzhou',
label: 'Hangzhou'
…

blank
- 3
- 2
0
votes
0 answers
0
votes
1 answer
ReactJS: TypeError: this.ref.current.method is not a function with ant design form
class Parent extends Component {
constructor(props) {
super(props);
this.Child_A = React.createRef();
this.Child_B = React.createRef();
}
function_uses_Child_A = ()=> {
// This is working fine
…

Abdullah Hashim
- 11
- 3
0
votes
1 answer
Ant Design Pro login issue. Not understand the code
I was working Ant Design pro. But i can't understand the model of the login code. Here they use
effects: {
*login({ payload }, { call, put }) {}
}
if you wanted to see the full code goto this link
Ant Design Pro login model js…

Arnob
- 27
- 8
0
votes
2 answers
wrappedComponentRef is undefined - React Ant Design, Form Component
I am using Ant design - Form and Modal components with React.
Form wrapper component:
class InsertForm extends React.Component{
render(){
const formItemLayout = {
labelCol: { span: 24 },
wrapperCol: { span: 24},
…

gdfgdfg
- 3,181
- 7
- 37
- 83
0
votes
1 answer
Set form text field values after the form submission with ant design in react
I need to change the form text field value after submitting it. I used https://ant.design/components/form/ ant design to create the form.
I have tried the following code inside the form onSubmit method.
this.props.form.setFieldsValue({ count:…
user9348468
0
votes
0 answers
Dynamically mapping HTML Page on click of Menu Items sidebar Component in Ant D pro Reactjs using Routing Method
{
privilegeArray.map((menu, i) => (
{menu.screenName}}
children={menu.MenuItem.map((menuItem, j) => (
…

pkul3003
- 1
- 4
0
votes
1 answer
Reactjs : How I can change button style when clicked
I am new to ReactJS, Currently I am using ant.design for my interface and In ant.design I am using Switch Steps for Wizard form. I want to change Next Button style when clicked . I am new to this platform please guide me
Thanks

Jon
- 461
- 2
- 7
- 17
0
votes
0 answers
How to Remove Video Preview When User click on Delete in ReactJS
I am working on project in reactjs, Currently I am using ant-design form for selection of video and I implemented some logic when user click on video then display video to below but when user click on delete button and select another one the preview…

Jon
- 461
- 2
- 7
- 17