diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/add-new-app/AddNewApp.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/add-new-app/AddNewApp.js index b53954fc90d..83e1906da1b 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/add-new-app/AddNewApp.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/add-new-app/AddNewApp.js @@ -14,9 +14,10 @@ import { Input, Icon, Select, - Checkbox, + Switch, Form, - Upload + Upload, + Divider } from "antd"; import Step1 from "./Step1"; import Step2 from "./Step2"; @@ -44,7 +45,7 @@ const routes = [ const props = { name: 'file', - multiple: true, + multiple: false, action: '//jsonplaceholder.typicode.com/posts/', onChange(info) { const status = info.file.status; @@ -79,13 +80,15 @@ const InputGroup = Input.Group; const formItemLayout = { labelCol: { - span: 8, + span: 4, }, wrapperCol: { - span: 16, + span: 20, }, }; + + class EditableTagGroup extends React.Component { state = { tags: [], @@ -170,6 +173,12 @@ class AddNewApp extends React.Component { }; } + tags = []; + + addTag(key, value){ + this.tags.push(); + } + next() { const current = this.state.current + 1; this.setState({current}); @@ -184,6 +193,8 @@ class AddNewApp extends React.Component { render() { const {current} = this.state; const Content = steps[current].content; + this.addTag('1','Lorem'); + this.addTag('2','Ipsum'); return (
Application
-
-
Click or drag file to this area to upload
-Support for a single or bulk upload. Strictly prohibit from uploading company data or other band files
+Click or drag file to this area to + upload
+Support for a single or bulk upload. + Strictly prohibit from uploading company data or other band + files
Icon
Screenshots