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

TOPIC:

[FIXED] default selected items in dropdown list 01 Oct 2012 23:16 #4205

there is a bug on the Jdom/html/form/input/select/combo.php

on this line:
$selected = ($item->$listKey == $this->dataValue);

it should be:
$selected = ($item->$listKey === $this->dataValue);

otherwise NULL or ZERO are managed at the same way.
The following user(s) said Thank You: admin, BTB300

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

Last edit: by admin.

Re: default selected items in dropdown list 03 Oct 2012 13:09 #4233

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

Thanks for this.

The little details are those that are making the difference. It improve stability a lot.
Coding is now a piece of cake
The following user(s) said Thank You: Tomaselli

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

  • Page:
  • 1
Time to create page: 0.096 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started