Skip to content

Commit

Permalink
TimePicker: fixed placeholder null value (#5177)
Browse files Browse the repository at this point in the history
  • Loading branch information
steal4life authored Dec 7, 2023
1 parent 0c6afb9 commit 8d0a777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Blazorise/wwwroot/timePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function initialize(element, elementId, options) {
if (options) {
picker.altInput.disabled = options.disabled || false;
picker.altInput.readOnly = options.readOnly || false;
picker.altInput.placeholder = options.placeholder;
picker.altInput.placeholder = utilities.coalesce(options.placeholder, "");

picker.altInput.addEventListener("blur", (e) => {
const isInput = e.target === picker._input;
Expand Down

0 comments on commit 8d0a777

Please sign in to comment.