Is there any way to bypass minRowCount validation when the question is not mandatory in matrixdynamic?
See original GitHub issueHi,
Is there any way to bypass minRowCount
validation when the question is not mandatory in matrixdynamic?
{
"pages": [
{
"name": "page1",
"elements": [
{
"type": "matrixdynamic",
"name": "question1",
"columns": [
{
"name": "Column 1"
},
{
"name": "Column 2"
},
{
"name": "Column 3"
}
],
"choices": [
1,
2,
3,
4,
5
],
"isRequired": false,
"rowCount": 1,
"minRowCount": 1,
"maxRowCount": 5
}
]
}
]
}
For above json, My client wants to hide the Remove
button when the rowCount: 1
.
I found minRowCount: 1
can do the trick, but it still prompt an error message when I validate the form.
Thanks.
- browser: Chrome
- browser version: 79.0.3945.79
- surveyjs platform (angular or react or jquery or knockout or vue): React
- surveyjs version: 1.1.25
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
[SOLVED] cant get past thru Mi account verification
Sign in Xiaomi/Mi account, go to /Signing in and Security/Manage Devices/Your device, then click on it, and Delete device, you will sign in...
Read more >HOW TO BYPASS XIAOMI MI ACCOUNT WITHOUT PC 2022
In this video, I will show you a cool trick on how to get your XIAOMI device back and running if it has...
Read more >How to Bypass Xiaomi Mi Account Lock on Any Xiaomi Phone
How to Bypass Xiaomi Mi Account Lock on Any Xiaomi PhoneFastboot Flash File https://goo.gl/KHB5iNMiFlash Tool https://goo.gl/lzug0eSubscribe ...
Read more >How to Bypass Google Verification in XIAOMI Redmi 8
If you are looking for a way to activate your Xiaomi smartphone ... and skip FRP in a few easy steps and login...
Read more >Enable "Install via USB" without creating MI Account
So, I have 3 questions: Why did they make it neccessary to provide an account for enabling an option like this? Is there...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@KLC215 Sorry, for misunderstanding. Finally I can see the issue. Got it. You can use survey.onSettingQuestionErrors event to modify question errors. Here is the code
And here is the example.
Thank you, Andrew
@andrewtelnov No, it’s my poor explanations. Thanks for saving my life~~~~~It works well 😃