Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 7801875

Browse files
committed
Misc
1 parent b6cf458 commit 7801875

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

src/FormBuilder/Component.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,6 @@ public function required(bool $required = true): self
140140
return $this;
141141
}
142142

143-
/**
144-
* Set the v-if="..."
145-
*
146-
* @return $this
147-
*/
148-
public function if(string $condition): self
149-
{
150-
$this->attributes['v-if'] = $condition;
151-
152-
return $this;
153-
}
154-
155143
/**
156144
* Helper method to add additional attributes to the field.
157145
*/

src/SpladeForm.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ public function class(array|string $class): self
8989
/**
9090
* Enables the confirmation dialog on submit.
9191
*
92-
* Add `Route::spladePasswordConfirmation();` to your routes if use $require_password-options
93-
*
94-
* @param string|bool $require_password true|false|fieldname
9592
* @return $this
9693
*/
9794
public function confirm(
@@ -180,7 +177,7 @@ public function requirePassword(
180177
/**
181178
* Prevent navigation on submit
182179
*
183-
* @param string $action_on_success reset|restore
180+
* @param string $actionOnSuccess reset|restore
184181
* @return $this
185182
*/
186183
public function stay(bool $stay = true, string $actionOnSuccess = ''): self
@@ -199,7 +196,7 @@ public function stay(bool $stay = true, string $actionOnSuccess = ''): self
199196
* If one or morge fieldnames are provided in $watch_fields,
200197
* the form will only be submitted on changes on these fields
201198
*
202-
* @param array|string|null $watch_fields
199+
* @param array|string|null $watchFields
203200
* @return $this
204201
*/
205202
public function submitOnChange(

0 commit comments

Comments
 (0)