PromucFlow_constructor/app/client
Keyur Paralkar 65e3344fb9
fix: add datatype check for date field validity jsonform (#26561)
## Description
This PR adds a check to the date field's value. Along with the existing
checks we also check if the value is of type string.

This change solves the issue mentioned below that occurs whenever the
defaultValue for the date field in the property pane is an array of
string.

#### PR fixes following issue(s)
Fixes #24675

#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)

## Testing
>
#### How Has This Been Tested?

- [x] Manual
- [ ] Jest
- [ ] Cypress

#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-08-23 17:35:45 +05:30
..
.husky fix: pre-commit logic (#25324) 2023-07-12 12:37:05 +03:00
.yarn chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
cypress test: cypress - flaky fix button (#26580) 2023-08-23 13:30:41 +05:30
docker/templates chore: Remove unused NGINX templates (#26426) 2023-08-17 19:54:58 +05:30
generators
packages chore: WDS fluid tokens config fine-tuning (#26533) 2023-08-23 12:35:11 +03:00
perf
public feat: Disable gsheets api load for airgapped instance (#26484) 2023-08-23 12:07:46 +01:00
src fix: add datatype check for date field validity jsonform (#26561) 2023-08-23 17:35:45 +05:30
test chore: Add SAVE_ACTION analytics event (#25997) 2023-08-07 15:01:45 +05:30
typings
.babelrc
.dockerignore
.editorconfig
.eslintrc.base.json chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
.eslintrc.js chore: improve eslint rules (#26056) 2023-08-07 15:38:48 +03:00
.gitignore test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
.lintstagedrc
.nvmrc chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
.prettierignore
.prettierrc
.sentryclirc
.yarnrc.yml chore:update node version to v18 (#26358) 2023-08-15 18:56:04 +05:30
build.sh chore: disable cra eslint (#24953) 2023-06-30 12:45:07 +03:00
craco.build.config.js perf: prioritize the main bundle over preloads (v2) (#24374) 2023-06-22 10:58:10 +05:30
craco.common.config.js
craco.dev.config.js
cypress_ci_custom.config.ts ci: Changes to enable rerun with custom script (#25480) 2023-07-19 17:02:24 +05:30
cypress_ci_hosted.config.ts test: Cypress - fix for selected gsheet (#25940) 2023-08-02 18:58:04 +05:30
cypress_ci-toremove.json
cypress_ci.config.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
cypress.config.ts test: Cypress | (DI) Arango added validations + CI Stabilize (#26243) 2023-08-18 10:48:35 +05:30
download-assets.js
jest.config.js chore: Add button v2 under feature flag (#25106) 2023-07-26 18:10:44 +05:30
package.json chore: Move stories to component level (#26489) 2023-08-23 09:13:26 +03:00
README.md
README.old.md
start-https.sh chore: Detect other NGINX and offer to kill (#25478) 2023-07-19 16:39:11 +05:30
tailwind.config.js
tsconfig.json fix: bump storybook version and move stories to storybook package (#25821) 2023-07-31 19:15:50 +03:00
tsconfig.path.json
vercel.json
yarn.lock chore: Move stories to component level (#26489) 2023-08-23 09:13:26 +03:00

Appsmith Client

This project was bootstrapped with Create React App.

For details on setting up your development machine, please refer to the Setup Guide