sl-ember-components icon indicating copy to clipboard operation
sl-ember-components copied to clipboard

sl-date-range-picker: "startDateValue" should not be able to be set when it is less than "minDate"

Open juwara0 opened this issue 9 years ago • 3 comments

Provide a fix for "startDateValue" being able to be set when it is less than "minDate" and then verify the fix by turning the skipped test below back on.

This test fails:

test( '"startDateValue" cannot be less than "minDate"', function( assert ) {

this.render( hbs`
    {{sl-date-range-picker
        minDate="09/28/2015"
        startDateValue="09/25/2015"
    }}
` );

assert.strictEqual(
    this.$( '>:first-child' ).find( '.sl-daterange-start-date' ).find( 'input' ).val(),
    '09/28/2015',
    'The "startDateValue" is not less than the "minDate"'
);

});

juwara0 avatar Sep 25 '15 19:09 juwara0

I'm working on this.

Yogeswar avatar Nov 10 '15 19:11 Yogeswar

This issue also addresses #871, #874, #875

Yogeswar avatar Nov 10 '15 23:11 Yogeswar

Should be resolved by #1458

SpikedKira avatar Feb 05 '16 17:02 SpikedKira