mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-13 16:16:59 +02:00
Made possible to have test TLDs with length of 1
This commit is contained in:
parent
080988155e
commit
ee48a0e67d
2 changed files with 3 additions and 3 deletions
|
@ -246,7 +246,7 @@ class SystemController extends Controller
|
|||
}
|
||||
|
||||
$validators = [
|
||||
'extension' => v::stringType()->notEmpty()->length(3, 64),
|
||||
'extension' => v::stringType()->notEmpty()->length(1, 64),
|
||||
'script' => v::stringType()->notEmpty(),
|
||||
'createm0' => v::numericVal()->between(0.00, 9999999.99, true),
|
||||
'createm12' => v::numericVal()->between(0.00, 9999999.99, true),
|
||||
|
@ -553,7 +553,7 @@ class SystemController extends Controller
|
|||
}
|
||||
|
||||
$validators = [
|
||||
'extension' => v::stringType()->notEmpty()->length(3, 64),
|
||||
'extension' => v::stringType()->notEmpty()->length(1, 64),
|
||||
'createm0' => v::numericVal()->between(0.00, 9999999.99, true),
|
||||
'createm12' => v::numericVal()->between(0.00, 9999999.99, true),
|
||||
'createm24' => v::numericVal()->between(0.00, 9999999.99, true),
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="tldTypeSelector" class="form-label">{{ __('TLD Type') }}</label>
|
||||
<div class="form-control-plaintext">{{ tld_u|length == 3 ? 'ccTLD' : (tld_u|length > 3 ? 'gTLD' : '') }}</div>
|
||||
<div class="form-control-plaintext">{{ tld_u|length == 3 ? 'ccTLD' : (tld_u|length > 3 ? 'gTLD' : (tld_u|length == 2 ? 'Test TLD' : '')) }}</div>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="scriptDropdown" class="form-label">{{ __('Supported Script') }}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue