yes/no-field display problem in newest github

uschmi

Member
In newest github the yes/no-field is not showing the actual value in edit form (but in display form). Changing a value in edit form will show the actual value.
This bug first appeared in newest github, it was not in fabrikar 3.4.3
 

Attachments

  • screenshot.PNG
    screenshot.PNG
    1.2 KB · Views: 128
I think I may have just fixed this in github.

-- hugh
I noticed this problem over a week ago but never posted. When I saw this thread I thought it would be fixed for me after a github update. But I just updated from github and the problem still remains.

The only caveat I can think of is that this Yes/No element is in a Fabrik module form.

I intentionally included a screen snip that shows the html in the debugging console - and as you can see, the correct option is 'checked' yet the correct class is not included for the label, so it looks like nothing is selected. The problem only occurs when the form is first loaded, otherwise the element 'works' as expected.
 

Attachments

  • YesNoProblem.PNG
    YesNoProblem.PNG
    153.9 KB · Views: 141
I can't replicate;), what are your settings?
Default bootstrap layout?
Default Protostar template?
Module ajaxfied?
DebugJS yes/no?
Joomla3.5 or 3.4.8?
Any JS error?
The only caveat I can think of is that this Yes/No element is in a Fabrik module form.
Is it ok e.g. in the backend or with a menu item?
Is the element showing a default in it's settings (you can only chose yes or no, but...)?
 
Thanks for the quick reply troester.
Everything is J default (v3.5) - Fabrik bootstrap template - not ajaxified. And yes regarding the js errors, just noticed - see attachment.

I'll try a few things and see if I can't at least figure out what might make the js error go away, if anything.
 

Attachments

  • consolelog.PNG
    consolelog.PNG
    164.5 KB · Views: 131
Last edited:
There is a cascading dropdown in that form that shows after the 'Add an organization/facility' dropdown is selected. If I disable the cascading dropdown it works.

I also tried adding the form in a menu page by itself (rather than in a module above a list), but it still has the same issue.

Also, I use a form_##.js file in this form - and so I tried renaming/disabling that javascript file - and the problem still exists (and the other 'Event.mock' javascript errors still show).

This form used to display/work just fine - until a week or two ago.:(
 
Last edited:
Hey that did it, Hugh! Thanks a bunch!

But while you're nitpicking javascript errors you might want to look at the CSV Import form. That form is loaded with js errors now.
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top