/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
extensions/interactions/RatioExpressionInput/directives/ratio-expression-input-interaction.component.html
26 строк
789 B
Jayam Patel
[GSoC 2025 - Acceptance Tests] M1.8 - Implement Acceptance tests for Exploration Editor (#11 in CUJv3 Doc) (#22969)
05 авг 2025, 06:02
Не верифицирован
05 авг 2025, 06:02
6e293e1
Код
Авторство
О чём код?
<form autocomplete="off" [attr.disabled]="!isValid" role="form" class="form-horizontal"> <!-- This form is needed for submitting the answer on hitting enter. --> <input type="text" name="answer" [(ngModel)]="answer" (ngModelChange)="answerValueChanged()" class="form-control" (keyup.enter)="submitAnswer()" [oppiaFocusOn]="labelForFocusTarget" [placeholder]="placeholder"> <div class="oppia-form-error oppia-ratio-expression-input-error e2e-test-form-error-container"> {{ errorMessageI18nKey | translate: { termsCount: expectedNumberOfTerms } }} </div> </form> <style> .oppia-ratio-expression-input-error { margin-top: 10px; } .ng-invalid { border-color: red; outline-color: red; } </style>