mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 15:44:45 +02:00
This is supposed to be sent, but isn’t because it’s disabled, even though it’s dehydrated
This commit is contained in:
parent
eda3959748
commit
dc794c64ce
@ -69,15 +69,15 @@ class CreateNode extends CreateRecord
|
||||
|
||||
return '';
|
||||
})
|
||||
->disabled(function (Forms\Get $get, Forms\Set $set) {
|
||||
if (request()->isSecure()) {
|
||||
$set('scheme', 'https');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
})
|
||||
// ->disabled(function (Forms\Get $get, Forms\Set $set) {
|
||||
// if (request()->isSecure()) {
|
||||
// $set('scheme', 'https');
|
||||
//
|
||||
// return true;
|
||||
// }
|
||||
//
|
||||
// return false;
|
||||
// })
|
||||
->options([
|
||||
'http' => 'HTTP',
|
||||
'https' => 'HTTPS (SSL)',
|
||||
|
Loading…
x
Reference in New Issue
Block a user