Skip to content

Commit

Permalink
Incorrect behaviour of validation of inputs with default values #1887
Browse files Browse the repository at this point in the history
  • Loading branch information
ashklianko authored and alansemenov committed Apr 7, 2021
1 parent c9ac1d9 commit 7175f9f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ export abstract class BaseInputTypeNotManagingAdd
InputOccurrences.create().setBaseInputTypeView(this).setInput(this.input).setPropertyArray(propertyArray).build();

this.onAdded(() => {
this.onOccurrenceAdded(() => {
this.onOccurrenceAdded((event: OccurrenceAddedEvent) => {
$(this.getHTMLElement()).sortable('refresh');
this.validateOccurrence((<InputOccurrenceView>event.getOccurrenceView()));
this.updateValidationRecord();
});

this.onOccurrenceRemoved((event: OccurrenceRemovedEvent) => {
Expand Down

0 comments on commit 7175f9f

Please sign in to comment.