PromucFlow_constructor/app/client/src/widgets/TableWidgetV2/component/cellComponents
balajisoundar ede1e4dd06
fix: Select / Multi select widget should retain the selection when the options are server side filtered (#30490)
We are removing the validation check that checks whether the given
default value is present in the source data. This validation check
creates a dependency which leads to issue mentioned in the attached
github issue.

We are showing a helper message under the input with a message as
follow:
`Make sure the default value(s) are present in the source data to have
it selected by default in the UI.`

#### PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith/issues/29222
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### 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

- Bug fix (non-breaking change which fixes an issue)

>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] 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
- [x] 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
- [x] 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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced user guidance with the addition of a helper text property in
the MultiSelect widget.
- Updated Select widget with a helper text property and extended
dependencies for server-side filtering.

- **Bug Fixes**
- Resolved issue where MultiSelect widget selections were cleared during
server-side filtering.

- **Tests**
- Added and modified test cases for MultiSelect and Select widgets to
reflect new functionalities and ensure reliability.

- **Style**
- Improved tooltip display in TableWidgetV2 by increasing the max width
and changing the position for better visibility and user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-26 17:31:26 +05:30
..
AutoToolTipComponent.tsx fix: Select / Multi select widget should retain the selection when the options are server side filtered (#30490) 2024-01-26 17:31:26 +05:30
BasicCell.tsx chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
Button.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ButtonCell.tsx chore: Table performance improvement (#20983) 2023-03-30 10:24:29 +05:30
CheckboxCell.tsx chore: Table performance improvement (#20983) 2023-03-30 10:24:29 +05:30
DateCell.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
EditActionsCell.tsx chore: Table performance improvement (#20983) 2023-03-30 10:24:29 +05:30
EmptyCell.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
HeaderCell.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
IconButtonCell.tsx fix: enable change in background color on hover for Icon Button cell in Table widget V2 (#23061) 2023-05-11 14:46:44 +05:30
ImageCell.tsx chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
InlineCellEditor.tsx feat: Table widget currency column (#27819) 2023-11-06 11:05:26 +05:30
MenuButtonCell.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
menuButtonTableComponent.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
PlainTextCell.test.tsx feat: Table widget select column type (#16337) 2022-09-30 09:33:53 +05:30
PlainTextCell.tsx feat: Table widget currency column (#27819) 2023-11-06 11:05:26 +05:30
SelectCell.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
SelectionCheckboxCell.tsx chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
SwitchCell.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
VideoCell.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30