Skip to content

Commit b3fa09a

Browse files
refactor: add isNumber field to SearchComponent and TeaserComponent for improved data handling
1 parent 5711f59 commit b3fa09a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

upload-api/migration-aem/libs/contentType/components/SearchComponent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export class SearchComponent extends ContentstackComponent {
4545
uid: key,
4646
displayName: key,
4747
description: "",
48+
isNumber: true,
4849
defaultValue: ""
4950
}).toContentstack(),
5051
object: () => null,

upload-api/migration-aem/libs/contentType/components/TeaserComponent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export class TeaserComponent extends ContentstackComponent {
6565
uid: key,
6666
displayName: key,
6767
description: "",
68+
isNumber: true,
6869
defaultValue: ""
6970
}).toContentstack(),
7071
object: (key, schemaProp) => {

0 commit comments

Comments
 (0)