Fairoj : Validation removal in templates
This commit is contained in:
parent
5656f6bbd4
commit
10f664e22b
File diff suppressed because it is too large
Load Diff
@ -22,13 +22,6 @@
|
||||
"is_repeatable": null,
|
||||
"field_type": "string",
|
||||
"validations": [
|
||||
{
|
||||
"name": "required",
|
||||
"isactive": "1",
|
||||
"validator": "Validators.required",
|
||||
"message": "Required",
|
||||
"value": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -41,13 +34,6 @@
|
||||
"onchange_properties": null,
|
||||
"is_repeatable": null,
|
||||
"validations": [
|
||||
{
|
||||
"name": "required",
|
||||
"isactive": "1",
|
||||
"validator": "Validators.required",
|
||||
"message": "Field Required",
|
||||
"value": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -55,35 +41,36 @@
|
||||
"question_key": "account_type",
|
||||
"type": "3",
|
||||
"field_width": "45",
|
||||
"api_properties":null,
|
||||
"api_properties": null,
|
||||
"answers": [
|
||||
{
|
||||
"answer":"Savings",
|
||||
"answer_id":"Savings"
|
||||
"answer": "Savings",
|
||||
"answer_id": "Savings"
|
||||
},
|
||||
{
|
||||
"answer":"OD",
|
||||
"answer_id":"OD"
|
||||
"answer": "OD",
|
||||
"answer_id": "OD"
|
||||
},
|
||||
{
|
||||
"answer":"Current",
|
||||
"answer_id":"Current"
|
||||
"answer": "Current",
|
||||
"answer_id": "Current"
|
||||
},
|
||||
{
|
||||
"answer":"CC",
|
||||
"answer_id":"CC"
|
||||
"answer": "CC",
|
||||
"answer_id": "CC"
|
||||
}
|
||||
],
|
||||
"onchange_properties": [
|
||||
{
|
||||
"purpose":"FORM_CTRL",
|
||||
"form_controls":[{
|
||||
"insert_index":"account_type",
|
||||
"expression":"(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))",
|
||||
"value_keys":[
|
||||
"purpose": "FORM_CTRL",
|
||||
"form_controls": [
|
||||
{
|
||||
"insert_index": "account_type",
|
||||
"expression": "(String('account_type').toLowerCase() != String('savings') && String('account_type').toLowerCase() != String('current'))",
|
||||
"value_keys": [
|
||||
"account_type"
|
||||
],
|
||||
"questions":[
|
||||
"questions": [
|
||||
{
|
||||
"question": "OD/CC Limit",
|
||||
"question_key": "cc_limit",
|
||||
@ -95,49 +82,36 @@
|
||||
"onchange_properties": null,
|
||||
"is_repeatable": null,
|
||||
"validations": [
|
||||
{
|
||||
"name": "required",
|
||||
"isactive": "1",
|
||||
"validator": "Validators.required",
|
||||
"message": "Field Required",
|
||||
"value": null
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
],
|
||||
"is_repeatable": null,
|
||||
"validations": [
|
||||
{
|
||||
"name": "required",
|
||||
"isactive": "1",
|
||||
"validator": "Validators.required",
|
||||
"message": "Field Required",
|
||||
"value": null
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
],
|
||||
"is_repeatable": "1",
|
||||
"group_title": "Banking Details",
|
||||
"group_key": "banking_details"
|
||||
},
|
||||
{
|
||||
"question_key":"common_remarks",
|
||||
"question":"Remarks",
|
||||
"place_holder":"Enter the text",
|
||||
"type":"7",
|
||||
"api_properties":null,
|
||||
"answers":null,
|
||||
"onchange_properties":null,
|
||||
"is_repeatable":null,
|
||||
"field_type":"string",
|
||||
"field_width":"45",
|
||||
"validations":[
|
||||
]
|
||||
"question_key": "common_remarks",
|
||||
"question": "Remarks",
|
||||
"place_holder": "Enter the text",
|
||||
"type": "7",
|
||||
"api_properties": null,
|
||||
"answers": null,
|
||||
"onchange_properties": null,
|
||||
"is_repeatable": null,
|
||||
"field_type": "string",
|
||||
"field_width": "45",
|
||||
"validations": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user