Skip to content

Commit 6aa41fd

Browse files
committed
bug fixes
1 parent 655b77a commit 6aa41fd

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/components/src/internal/components/domainproperties/TextChoiceOptions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ export const TextChoiceOptions: FC<Props> = memo(props => {
405405
// keep the existing validator Id/props, if present, and override the expression / properties
406406
...field.textChoiceValidator,
407407
...DEFAULT_TEXT_CHOICE_VALIDATOR.toJS(),
408+
rowId: field.textChoiceValidator?.rowId,
408409
shouldShowWarning: true,
409410
expression: PropertyValidator.joinValidValues(newValues),
410411
properties: { validValues: newValues },

packages/components/src/internal/components/domainproperties/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ export function updateDataType(field: DomainField, value: any): DomainField {
919919
uniqueConstraint: false,
920920
nonUniqueConstraint: false,
921921
conditionalFormats: List<ConditionalFormat>(),
922+
URL: undefined,
922923
}) as DomainField;
923924
}
924925
} else if (field.isCalculatedField()) {

0 commit comments

Comments
 (0)