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:
OS: Windows, MacOS
Browser: Chrome
Browser version 120
Are there any additional context?
Looks like this in chrome:
And like this in Safari and Firefox:
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.
[ ] Make sure the NOT verified label has been removed by a member of team Kirby; do not proceed until this is done
Implementation
The contributor who wants to implement this issue should:
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:
And like this in Safari and Firefox:
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.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is doneImplementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review: