mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 20:24:44 +02:00
Merge pull request #324 from Boy132/patch-1
Remove maxLength from `variable_value` input
This commit is contained in:
commit
4bd1070025
@ -532,7 +532,6 @@ class EditServer extends EditRecord
|
|||||||
|
|
||||||
$text = Forms\Components\TextInput::make('variable_value')
|
$text = Forms\Components\TextInput::make('variable_value')
|
||||||
->hidden($this->shouldHideComponent(...))
|
->hidden($this->shouldHideComponent(...))
|
||||||
->maxLength(191)
|
|
||||||
->rules([
|
->rules([
|
||||||
fn (ServerVariable $serverVariable): Closure => function (string $attribute, $value, Closure $fail) use ($serverVariable) {
|
fn (ServerVariable $serverVariable): Closure => function (string $attribute, $value, Closure $fail) use ($serverVariable) {
|
||||||
$validator = Validator::make(['validatorkey' => $value], [
|
$validator = Validator::make(['validatorkey' => $value], [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user