Skip to content

Commit 4048dac

Browse files
authored
Merge pull request #35 from maximehuran/feature/live-component-parent
2 parents 8e1cbef + addd01f commit 4048dac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Components/FormField.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,25 @@ class FormField
2727
use ComponentToolsTrait;
2828
use DefaultActionTrait;
2929

30-
#[LiveProp]
30+
#[LiveProp(updateFromParent: true)]
3131
public string $inputName;
3232

33-
#[LiveProp]
33+
#[LiveProp(updateFromParent: true)]
3434
public string $fileType;
3535

36-
#[LiveProp]
36+
#[LiveProp(updateFromParent: true)]
3737
public string $filePath;
3838

39-
#[LiveProp]
39+
#[LiveProp(updateFromParent: true)]
4040
public string $baseFolderPath;
4141

42-
#[LiveProp]
42+
#[LiveProp(updateFromParent: true)]
4343
public array $mimeTypes;
4444

45-
#[LiveProp]
45+
#[LiveProp(updateFromParent: true)]
4646
public string $maxFileSize;
4747

48-
#[LiveProp]
48+
#[LiveProp(updateFromParent: true)]
4949
public array $extraParams;
5050

5151
#[LiveAction]

0 commit comments

Comments
 (0)