Coder Social home page Coder Social logo

datepair's Issues

Earliest and Latest Date Attribute issue

When just the Earliest Date Attribute is set the widget doesn't reflect the value. I have tried CurrentDateTime, BeginningOfCurrentDay and -1 day on both respectively.

When both the earliest (EG BeginningOfCurrentDay) and latest (EG addDays(BeginningOfCurrentDay, 14)) attribute is set the entire calendar is greyed out and it goes back to the year 1970.

The values can be retrieved on the page through text widgets and the values are what I expected.

Mendix Version: 8.9

image

Date Box Is Grayed Out

In our implementation of this widget, we're experiencing some weird issues. Even though the field is editable and we can click on it to edit, it is grayed out - like it isn't editable. In other words, the text box that has the date displayed has a gray background instead of a white one.

Should render a little better

The date and time fields should expand to full width (like regular controls) and the validation feedback bar should be below them

Refresh context object makes values disappear

When you refresh the context object, in Mx 7.9.0 and 7.13.1, the widget does not render the date and time values anymore. Somehow, this also breaks the rendering / value of the object when you show a default date picker.

On https://datetimerefreshiss.mxapps.io you can see the behaviour:

  1. See that the date and time are filled
  2. Press refresh
  3. Notice that the date and time are not rendered

On the right side of the screen, the normal mendix date picker is shown and keeps the values.

I made a change to line 352:

_setDateTimePickerValues: function(datetime) {
datetime = this._contextObj.get(this.fromDate);
....
}

To make sure the values are obtained from the context object.

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.