File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 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 724
724
} else {
725
725
field = $ ( form . find ( "input[name='" + fieldName + "'][type!=hidden]:first" ) ) ;
726
726
}
727
- options . showArrow = false ;
727
+ options . showArrow = options . showArrowOnRadioAndCheckbox ;
728
728
}
729
729
730
730
if ( field . is ( ":hidden" ) && options . prettySelect ) {
1832
1832
switch ( positionType ) {
1833
1833
default :
1834
1834
case "topRight" :
1835
- promptleftPosition += fieldLeft + fieldWidth - 30 ;
1835
+ promptleftPosition += fieldLeft + fieldWidth - 27 ;
1836
1836
promptTopPosition += fieldTop ;
1837
1837
break ;
1838
1838
1859
1859
promptleftPosition = fieldLeft ;
1860
1860
break ;
1861
1861
case "bottomRight" :
1862
- promptleftPosition = fieldLeft + fieldWidth - 30 ;
1862
+ promptleftPosition = fieldLeft + fieldWidth - 27 ;
1863
1863
promptTopPosition = fieldTop + field . height ( ) + 5 ;
1864
1864
marginTopSize = 0 ;
1865
1865
break ;
2034
2034
binded : true ,
2035
2035
// set to true, when the prompt arrow needs to be displayed
2036
2036
showArrow : true ,
2037
+ // set to false, determines if the prompt arrow should be displayed when validating
2038
+ // checkboxes and radio buttons
2039
+ showArrowOnRadioAndCheckbox : false ,
2037
2040
// did one of the validation fail ? kept global to stop further ajax validations
2038
2041
isError : false ,
2039
2042
// Limit how many displayed errors a field can have
You can’t perform that action at this time.
0 commit comments