Socket
Socket
Sign inDemoInstall

@cone2875/vue-formulate-datetime

Package Overview
Dependencies
16
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cone2875/vue-formulate-datetime

Vue Formulate + Vue Datetime


Version published
Maintainers
1
Install size
15.8 MB
Created

Readme

Source

Introduction

Vue Formulate Datetime is a Vue Formulate plugin that provides the vue-datetime UI into a FormulateInput.

Installation

NPM

npm install vue-formulate-datetime

Add to Vue

As with any Vue Formulate plugin:

import Vue from 'vue'
import VueFormulate from '@braid/vue-formulate'

import FormulateVueDatetimePlugin from '@cone2875/vue-formulate-datetime'

// !important
// Import the vue-datetime css
import 'vue-datetime/dist/vue-datetime.css'

Vue.use(VueFormulate, {
    plugins: [ FormulateVueDatetimePlugin ]
})

Usage

Use vue-datetime as the input type. vue-datetime uses the type prop too, so we changed the name of this prop to datetype.

<FormulateInput
    type="vue-datetime"
    datetype="datetime"
    />

It works as any other FormulateInput.

Keywords

FAQs

Last updated on 11 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc