chore: add min validation param (#34132)
Fixes #33757 /ok-to-test tags="@tag.Anvil" <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Enhancements** - Improved validation for table widget properties by adding a minimum value constraint, ensuring input values are greater than or equal to 1. <!-- end of auto-generated comment: release notes by coderabbit.ai --><!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/9463054159> > Commit: bddc1f8d76e534d5573c282ab40640286c7bc53d > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9463054159&attempt=1" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
This commit is contained in:
parent
337e12f41c
commit
e6ebd41544
|
|
@ -150,7 +150,12 @@ export const contentConfig = [
|
|||
isBindProperty: true,
|
||||
isTriggerProperty: false,
|
||||
min: 1,
|
||||
validation: { type: ValidationTypes.NUMBER },
|
||||
validation: {
|
||||
type: ValidationTypes.NUMBER,
|
||||
params: {
|
||||
min: 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
propertyName: "isVisiblePagination",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user