How to use the iview/src/components/form.Item function in iview

To help you get started, we’ve selected a few iview examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cheng-kang / wildfire / new source / src / loadiView.js View on Github external
// iCircle: Circle,
  Col,
  // iCol: Col,
  // Collapse,
  // ColorPicker,
  // DatePicker,
  Dropdown,
  DropdownItem: Dropdown.Item,
  DropdownMenu: Dropdown.Menu,
  iDropdown: Dropdown,
  iDropdownItem: Dropdown.Item,
  iDropdownMenu: Dropdown.Menu,
  Form,
  iForm: Form,
  FormItem: Form.Item,
  iFormItem: Form.Item,
  Icon,
  iIcon: Icon,
  Input,
  iInput: Input,
  // InputNumber,
  // LoadingBar,
  Menu,
  iMenu: Menu,
  // MenuGroup: Menu.Group,
  MenuItem: Menu.Item,
  iMenuItem: Menu.Item,
  // Submenu: Menu.Sub,
  Message,
  Modal,
  iModal: Modal,
  // Notice,
github electron-userland / electrify / src / renderer / initIView.ts View on Github external
// import "iview/src/styles/components/tag.less"
// import "iview/src/styles/components/loading-bar.less"

localeManager.use(enLocale)

const nameToComponent: any = {
  Row: grid.Row,
  Col: grid.Col,
  iCol: grid.Col,
  MenuItem: (Menu as any).Item,
  Menu,
  Card,
  Tag,
  Form,
  iForm: Form,
  FormItem: Form.Item,
  Input,
  Button,
  Tooltip,
  iButton: Button,
}

for (const name of Object.keys(nameToComponent)) {
  Vue.component(name, nameToComponent[name])
}

(Vue.prototype as any).$Loading = LoadingBar
github cheng-kang / wildfire / new source / src / loadiView.js View on Github external
// CheckboxGroup: Checkbox.Group,
  // iCircle: Circle,
  Col,
  // iCol: Col,
  // Collapse,
  // ColorPicker,
  // DatePicker,
  Dropdown,
  DropdownItem: Dropdown.Item,
  DropdownMenu: Dropdown.Menu,
  iDropdown: Dropdown,
  iDropdownItem: Dropdown.Item,
  iDropdownMenu: Dropdown.Menu,
  Form,
  iForm: Form,
  FormItem: Form.Item,
  iFormItem: Form.Item,
  Icon,
  iIcon: Icon,
  Input,
  iInput: Input,
  // InputNumber,
  // LoadingBar,
  Menu,
  iMenu: Menu,
  // MenuGroup: Menu.Group,
  MenuItem: Menu.Item,
  iMenuItem: Menu.Item,
  // Submenu: Menu.Sub,
  Message,
  Modal,
  iModal: Modal,
github cheng-kang / wildfire / src / common / loadiView.js View on Github external
iButton: Button,
  Card,
  iCard: Card,
  Col,
  iCol: Col,
  Collapse,
  iCollapse: Collapse,
  Dropdown,
  DropdownItem: Dropdown.Item,
  DropdownMenu: Dropdown.Menu,
  iDropdown: Dropdown,
  iDropdownItem: Dropdown.Item,
  iDropdownMenu: Dropdown.Menu,
  Form,
  iForm: Form,
  FormItem: Form.Item,
  iFormItem: Form.Item,
  Icon,
  iIcon: Icon,
  Input,
  iInput: Input,
  Menu,
  iMenu: Menu,
  MenuGroup: Menu.Group,
  iMenuGroup: Menu.Group,
  MenuItem: Menu.Item,
  iMenuItem: Menu.Item,
  Submenu: Menu.Sub,
  iSubmenu: Menu.Sub,
  Message,
  Option,
  iOption: Option,
github rijn / nodecho / src / components / AdminEdit.vue View on Github external
private: true,
    summary: '',
    content: '',
    location: '',
    poem: false
};

export default {
    name: 'AdminEdit',

    components: {
        Message,
        iButton: Button,
        iInput: Input,
        iForm: Form,
        FormItem: Form.Item,
        iSwitch: Switch,
        Row,
        iCol: Col,
        Upload
    },

    data () {
        return {
            form: null
        };
    },

    computed: {
        ...mapGetters('token', [ 'token', 'isLogin' ])
    },
github cheng-kang / wildfire / src / common / loadiView.js View on Github external
Card,
  iCard: Card,
  Col,
  iCol: Col,
  Collapse,
  iCollapse: Collapse,
  Dropdown,
  DropdownItem: Dropdown.Item,
  DropdownMenu: Dropdown.Menu,
  iDropdown: Dropdown,
  iDropdownItem: Dropdown.Item,
  iDropdownMenu: Dropdown.Menu,
  Form,
  iForm: Form,
  FormItem: Form.Item,
  iFormItem: Form.Item,
  Icon,
  iIcon: Icon,
  Input,
  iInput: Input,
  Menu,
  iMenu: Menu,
  MenuGroup: Menu.Group,
  iMenuGroup: Menu.Group,
  MenuItem: Menu.Item,
  iMenuItem: Menu.Item,
  Submenu: Menu.Sub,
  iSubmenu: Menu.Sub,
  Message,
  Option,
  iOption: Option,
  Page,