Giter VIP home page Giter VIP logo

Comments (7)

fooloomanzoo avatar fooloomanzoo commented on June 22, 2024 1

The required property comes from my FormElementMixin and this mixin is used also by other input elements I made. For Polymer's iron-form-element it is required for an element to have a validate function and so I created this mixin and included some shared attributes. Formerly it did not have that attribute, but I look into it.

from datetime-picker.

fooloomanzoo avatar fooloomanzoo commented on June 22, 2024 1

Right and thanks, should be fixed in the current version

from datetime-picker.

fooloomanzoo avatar fooloomanzoo commented on June 22, 2024

By default, today is the picked date, if not any attribute is set, but I might change that behaviour

from datetime-picker.

brettpostin avatar brettpostin commented on June 22, 2024

Ok thanks for the clarification.

I would love to use this element as it looks the most complete datetime picker available. However at present I cannot see how I would use this in a form where the field value may not be required.

I noticed there is a required property, what function does this serve if the field always has a value?

from datetime-picker.

brettpostin avatar brettpostin commented on June 22, 2024

Support for empty values would be a welcome addition.

from datetime-picker.

fooloomanzoo avatar fooloomanzoo commented on June 22, 2024

@brettpostin It should be possible with the new update. Please have a look at the demo

from datetime-picker.

brettpostin avatar brettpostin commented on June 22, 2024

Awesome thank you! Is there a way to clear the value back to empty once it has been set?

from datetime-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.