Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Boolean Radios not displaying correctly. 19 Jun 2013 13:59 #7578

Hi, there just so you know the Boolean field types when set to display as radios are not displaying correctly. e.g. They appear on the page but when selecting either Yes or No it does not then indicate which has been selected. It does however save your selection in the database. It is simply not showing which is the selected option. A work around for now is to use combo's. Just thought I would let you know.

Great work on the new system by the way.

Cheers.

Please Log in or Create an account to join the conversation.

Boolean Radios not displaying correctly. 21 Jun 2013 18:40 #7597

I Might add to this...
When using prefill it does not display difference in selection as described above

BUT ALSO NOTICED

VALIDATION FAILS Indicating that the field is required for the following
Bool Value - Properties
Required => yes
Unique => no
Default => false
Prefill => Yes

NO VALIDATION ERROR for the following
Bool Value - Properties
Required => yes
Unique => no
Default => True
Prefill => Yes

The difference being the default values True/False

Please Log in or Create an account to join the conversation.

Last edit: by BTB300.

Boolean Radios not displaying correctly. 26 Jun 2013 21:55 #7716

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

The radio display as group buttons (bootstrap) works now fine under J!2.5 and lower
Added :
dom/assets/bootstrap/radio.js

and changed :
dom/html/form/input/radio.ph

I splitted this topic in two.
Remains the small issue in grid (better rendering for bools) :
www.j-cook.net/index.php/forum/new-ticke...aying-correctly#7613
Coding is now a piece of cake
The following user(s) said Thank You: BTB300

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.055 seconds
Great UX great performance and definitely a time saver. It only took me 10 minutes of playing around before purchasing a subscription and right now I just want to throw more money at you! I just started a new project and after just 4h I can already tell it probably saved me several days of work. I'm building a wholesale ordering system with sales rep management. I have not looked at the code yet but so far: impressive.
flip (Forum)

Get Started