Skip to content

Commit faf7b9c

Browse files
committed
- Fixed date component
Signed-off-by: Arushad Ahmed <dash-8x@hotmail.com>
1 parent 1fc8c00 commit faf7b9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/Components/Date.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ public function __construct(
5454
);
5555

5656
$this->icon = $icon ?: $this->getFrameworkIcon($this->frameworkConfig('date-icon'));
57-
$this->icon = $icon ?: $this->getFrameworkIcon($this->frameworkConfig('date-icon'));
58-
$this->iconWrapperClass = $iconWrapperClass ?: $this->frameworkConfig('date-icon-wrapper-class');
57+
$this->clearIcon = $clearIcon ?: $this->getFrameworkIcon($this->frameworkConfig('date-clear-icon'));
5958
$this->clearBtnClass = $clearBtnClass ?: $this->frameworkConfig('date-clear-btn-class');
59+
$this->iconWrapperClass = $iconWrapperClass ?: $this->frameworkConfig('date-icon-wrapper-class');
6060
}
6161

6262
public function datePickerClass(): string

0 commit comments

Comments
 (0)