Socket
Socket
Sign inDemoInstall

quasar-app-extension-qdatetimepicker

Package Overview
Dependencies
0
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    quasar-app-extension-qdatetimepicker

QDatetimePicker for Quasar


Version published
Maintainers
1
Install size
234 kB
Created

Readme

Source

QDatetimePicker (quasar-app-extension-qdatetimepicker)

QDatetimePicker is an UI App Extension for Quasar Framework v1. It will not work with legacy versions of Quasar Framework.

This work is currently in alpha and there are expected changes while things get worked out. Your help with testing is greatly appreciated.

Installation

To add this App Extension to your Quasar application, run the following (in your Quasar app folder):

quasar ext add qdatetimepicker

Describe

You can use quasar describe QDatetimePicker

Demo

Can be found here.

Example Code

<q-datetime-picker label="Standard Date Picker" v-model="date"></q-datetime-picker>
<q-datetime-picker outlined label="Outlined Date Picker" v-model="date"></q-datetime-picker>
<q-datetime-picker outlined label="Outlined Dark Time Picker" :time="true" color="negative" dark v-model="time"></q-datetime-picker>
<q-datetime-picker standout label="Standout DateTime Picker" :date="true" :time="true" color="positive" dark v-model="datetime"></q-datetime-picker>

and the data...

data () {
  return {
    date: '2018-11-02',
    time: '15:46',
    datetime: '2018-11-02T15:46'
  }
}

Language Files

We need help translating the language files. They are all currently using English. If you know another language, please PR and help us out.

Completed languages

  • English
  • Portuguese

QDatetimePicker Vue Properties

Vue PropertyTypeDescription
labelStringA text label that will 'float' up above the input field, once the field gets focus
stack-labelBooleanLabel will be always shown above the field regardless of field content (if any)
hintStringHelper (hint) text which gets placed below your wrapped form component
hide-hintBooleanHide the helper (hint) text when field is not focused
prefixStringPrefix
suffixStringSuffix
colorStringColor name from Quasar Color Palette; Overrides default dynamic color
bg-colorStringColor name from Quasar Color Palette; Overrides default dynamic color
darkBooleanNotify the component that the background is a dark color
loadingBooleanSignals the user a process is in progress by displaying a spinner; Spinner can be customized by using the 'loading' slot.
clearableBooleanAppends clearable icon when a value (not undefined or null) is set; When clicked, model becomes null
clear-iconBooleanCustom icon to use for the clear button when using along with 'clearable' prop
filledBooleanUse 'filled' design for the field
outlinedBooleanUse 'outlined' design for the field
borderlessBooleanUse 'borderless' design for the field
standoutBooleanUse 'standout' design for the field
bottom-slotsBooleanEnables bottom slots ('error', 'hint', 'counter')
counterBooleanShow an automatic counter on the bottom right
roundedBooleanApplies a small standard border-radius for a squared shape of the component
squareBooleanRemove border-radius so borders are squared; Overrides 'rounded' prop
denseBooleanDense mode; occupies less space
items-alignedBooleanAlign content to match QItem
disableBooleanPut component in disabled mode
readonlyBooleanPut component in readonly mode
langBooleanLanguage identifier (default: $q.lang.isoName)
dateBoolean or ObjectIf this prop has a value, the datepicker will be shown. If the value is an object, it will be used as the option to format the date. see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
timeBoolean or ObjectIf this prop has a value, the timepicker will be shown. If the value is an object, it will be used as the options to format the time. see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
format24hBooleanShow the timepicker in 24 hour format. The masked value will not be affected.

Patreon

If you like (and use) this App Extension, please consider becoming a Quasar Patreon.

Keywords

FAQs

Last updated on 05 Apr 2019

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