Declined
Last Updated: 03 Mar 2020 14:38 by ADMIN
Kenneth
Created on: 29 Nov 2014 07:56
Category: Kendo UI for jQuery
Type: Feature Request
1
validator improvement
I love your controls except Validator. I have finally made my own, where I can write multiple functions to evaluate each input just like this in typeScript:
new Helpers.Validate([
                { name: 'postId', test: [(e) => { if (e == "") return "Chose a post."; }] },
                { name: 'creditor, test: [(e) => { if (e == "") return "Chose a creditor"; }, ] },
                { name: 'description', test: [
                    (e) => { if (e == "") return "Make a description"; },
                    (e) => { if (e.length < 15) return "Your description are to short "; },
                ]
                }, ]);
It is now a pleasure to make forms and perhaps you will consider to reevaluate the structure of your Validator that I have been struggling with workarounds on for so many hours the last two years. 
Kind regards from Kenneth
0 comments