@iapps/ng-dhis2-ui 1.2.94 → 1.2.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4152,7 +4152,6 @@ class LineListTableComponent extends ReactWrapperModule {
4152
4152
  else {
4153
4153
  updatedFilterableColumnIds = columns;
4154
4154
  }
4155
- console.log("THIS IS MORE THAN::: ", JSON.stringify(updatedFilterableColumnIds));
4156
4155
  const finalColumns = addActionsColumn([{ label: '#', key: 'index' }, ...updatedFilterableColumnIds], this.actionOptions);
4157
4156
  // const finalColumns: ColumnDefinition[] = addActionsColumn(
4158
4157
  // [{ label: '#', key: 'index' }, ...columns],
@@ -6149,8 +6148,8 @@ class BaseFormFieldComponent extends ReactWrapperModule {
6149
6148
  setTouched(true);
6150
6149
  };
6151
6150
  const checkValueUniqueness = async () => {
6152
- console.log('Checking uniqueness for value:', value);
6153
- if (this.field().unique && value && value.length > 0 && touched) {
6151
+ if (this.field().unique || (this.field().extension?.isDataElementUnique ?? false) && value && value.length > 0 && touched) {
6152
+ // if (this.field().unique && value && value.length > 0 && touched) {
6154
6153
  setCheckingUniqueness(true);
6155
6154
  setRecordExistError(undefined);
6156
6155
  try {