M
Meryk
Guest
Hi Siraj, I just came across some issues here. So just to remind, what I am doing is : var fieldContext = rbf_getFieldContext(fieldName); if(fieldContext){ var fieldEl = fieldContext.getNode(); fieldEl.prop('required',true); fieldEl.attr('data-required-msg','Date field value must be specified'); } $('rbi_L_fieldName > span').addClass('rbs-required'), 1- There is an alignment problem with this span (the one shown in red in the screenshot here) : Campaign must be specified It looks like it goes under the k-multiselect in that case, whereas it should go under the rbi_F_.. div, as shown in this screen shot: Also, if you compare the two shown fields here : Category and Campaign, you will see the alignment is not the same. This same span I am describing before is added as the last child of the div rbi_F_... div in the case of a rollbase required field. Which we would expect to be the case for the other field as well. Is that a bug? 2- We would also like to have this code handling the 'exclamation icon' as well, and not have to add it manually, as it should be part of making the field required. Can this be done please? Thank you Meryem
Continue reading...
Continue reading...