#4 -- Fix create rule
All checks were successful
CI fuzzy controller / container-test-job (push) Successful in 59s

This commit is contained in:
Anton Romanov 2025-02-28 22:19:43 +04:00
parent 377c879378
commit 3f4072a757
2 changed files with 2 additions and 3 deletions

View File

@ -185,7 +185,7 @@ function removeAntecedent(buttonElement) {
function removeConsequent(buttonElement) {
$(buttonElement).parent().remove();
//fuzzyTermsValueChanged();
fuzzyTermsValueChanged();
}
function addAntecedent(parentElement, projectId, variableVal, termVal) {

View File

@ -13,12 +13,11 @@
<input type="hidden" id="projectId" th:field="*{projectId}">
<input type="hidden" th:field="*{id}">
<div class="form-group">
<label for="ruleContent">Правило</label>
<input th:field="*{content}"
id="ruleContent"
type="text"
required
class="form-control"
class="form-control d-none"
placeholder="Правило">
<p th:if="${#fields.hasErrors('content')}"
th:class="${#fields.hasErrors('content')}? error">