refactor: rename domain categories (common->cmm, sample->smp) and restrict category key to 3 chars
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
Some checks failed
Deploy to OCIWP / deploy (push) Has been cancelled
This commit is contained in:
@@ -462,13 +462,13 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Domain Category</label>
|
||||
<input type="text" class="form-control" name="categoryKey" pattern="^[a-z0-9][a-z0-9_-]*$" list="groupList" placeholder="e.g. common, hr, payment" oninput="this.value = this.value.toLowerCase()" required>
|
||||
<input type="text" class="form-control" name="categoryKey" pattern="^[a-z0-9]{3}$" maxlength="3" minlength="3" list="groupList" placeholder="e.g. cmm, smp, pay" oninput="this.value = this.value.toLowerCase()" required>
|
||||
<datalist id="groupList">
|
||||
<option value="sample">sample</option>
|
||||
<option value="common">common</option>
|
||||
<option value="customer">customer</option>
|
||||
<option value="contract">contract</option>
|
||||
<option value="claim">claim</option>
|
||||
<option value="smp">smp</option>
|
||||
<option value="cmm">cmm</option>
|
||||
<option value="cus">cus</option>
|
||||
<option value="cnt">cnt</option>
|
||||
<option value="clm">clm</option>
|
||||
</datalist>
|
||||
</div>
|
||||
<div class="col-md-6 mt-3 mt-md-0">
|
||||
@@ -575,7 +575,7 @@
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Category</label>
|
||||
<input type="text" class="form-control" id="editCategoryKey" name="categoryKey" pattern="^[a-z0-9][a-z0-9_-]*$" oninput="this.value = this.value.toLowerCase()">
|
||||
<input type="text" class="form-control" id="editCategoryKey" name="categoryKey" pattern="^[a-z0-9]{3}$" maxlength="3" minlength="3" oninput="this.value = this.value.toLowerCase()">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label">Description</label>
|
||||
|
||||
Reference in New Issue
Block a user