We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 626b94d commit 0cbe588Copy full SHA for 0cbe588
src/Fields/Base.php
@@ -27,7 +27,10 @@ public function getForm(): array
27
28
public function getRulesForm(): array
29
{
30
- return $this->getBaseFormSchema();
+ return [
31
+ ...ValidationRulesSchema::make($this->getFieldType()),
32
+ ...VisibilityRulesSchema::make(),
33
+ ];
34
}
35
36
protected function getBaseFormSchema(): array
@@ -47,8 +50,6 @@ protected function getBaseFormSchema(): array
47
50
]),
48
51
Grid::make(2)
49
52
->schema([
- ...ValidationRulesSchema::make($this->getFieldType()),
- ...VisibilityRulesSchema::make(),
53
TextInput::make('config.helperText')
54
->live(onBlur: true)
55
->label(__('Helper text')),
0 commit comments