Skip to content

Commit

Permalink
Fix rtl method to set condition true value
Browse files Browse the repository at this point in the history
  • Loading branch information
sadegh19b committed Oct 19, 2024
1 parent f58251b commit 69790f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/OtpInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getType(): string
return $this->evaluate($this->type);
}

public function rtl(bool|\Closure $condition = false): static
public function rtl(bool|\Closure $condition = true): static
{
$this->isRtl = $condition;

Expand Down

0 comments on commit 69790f7

Please sign in to comment.