kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
83 stars 22 forks source link

[BUG] kirby-input value not set in Chrome #3337

Closed RasmusKjeldgaard closed 7 months ago

RasmusKjeldgaard commented 7 months ago

Describe the bug

When setting a value for an input in Kirby v9, the value does not replace the placeholder in Chrome (Tested in Chrome 120). It works

Describe how to reproduce the bug

Insert the following markup and observe that the input shows a dd/mm/yyyy placeholder instead of the specified value in Chrome: <input kirby-input type="date" [value]="'01-01-2024'"/>

Which Kirby version was used?

v9.0.0

What was the expected behavior?

Value should be synced to view so the above example shows 01/01/2024.

Add any screenshots

Please complete the following information:

Are there any additional context?

Looks like this in chrome: image

And like this in Safari and Firefox: image


Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Verification

To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.

Implementation

The contributor who wants to implement this issue should:

Review

Once the issue has been implemented and is ready for review: