File tree 2 files changed +12
-3
lines changed 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -415,6 +415,12 @@ Determines if the prompt should hide itself automatically after a set period. De
415
415
### autoHideDelay
416
416
Sets the number of ms that the prompt should appear for if autoHidePrompt is set to * true* . Defaults to * 10000* .
417
417
418
+ ### showArrow
419
+ Show the arrow in the validation popup. Defaults to * true*
420
+
421
+ ### showArrowOnRadioAndCheckbox
422
+ Show the arrow in the validation popup when validating checkboxes and radio buttons. Defaults to * false*
423
+
418
424
Validators
419
425
---
420
426
Original file line number Diff line number Diff line change 725
725
} else {
726
726
field = $ ( form . find ( "input[name='" + fieldName + "'][type!=hidden]:first" ) ) ;
727
727
}
728
- options . showArrow = false ;
728
+ options . showArrow = options . showArrowOnRadioAndCheckbox ;
729
729
}
730
730
731
731
if ( field . is ( ":hidden" ) && options . prettySelect ) {
1833
1833
switch ( positionType ) {
1834
1834
default :
1835
1835
case "topRight" :
1836
- promptleftPosition += fieldLeft + fieldWidth - 30 ;
1836
+ promptleftPosition += fieldLeft + fieldWidth - 27 ;
1837
1837
promptTopPosition += fieldTop ;
1838
1838
break ;
1839
1839
1860
1860
promptleftPosition = fieldLeft ;
1861
1861
break ;
1862
1862
case "bottomRight" :
1863
- promptleftPosition = fieldLeft + fieldWidth - 30 ;
1863
+ promptleftPosition = fieldLeft + fieldWidth - 27 ;
1864
1864
promptTopPosition = fieldTop + field . height ( ) + 5 ;
1865
1865
marginTopSize = 0 ;
1866
1866
break ;
2035
2035
binded : true ,
2036
2036
// set to true, when the prompt arrow needs to be displayed
2037
2037
showArrow : true ,
2038
+ // set to false, determines if the prompt arrow should be displayed when validating
2039
+ // checkboxes and radio buttons
2040
+ showArrowOnRadioAndCheckbox : false ,
2038
2041
// did one of the validation fail ? kept global to stop further ajax validations
2039
2042
isError : false ,
2040
2043
// Limit how many displayed errors a field can have
You can’t perform that action at this time.
0 commit comments