Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

IG. Buggy checkbox behaviour

Igor KortchnoïFeb 3 2025 — edited Feb 3 2025

APEX 24.1.7, 24.2.1

CREATE SEQUENCE  test_checkbox_seq MINVALUE 1 noMAXVALUE INCREMENT BY 1 START WITH 1 NOORDER  NOCYCLE;
create table test_checkbox (
   id number not null
  ,test_tf number(1)  default 0 not null
  ,text varchar2(10)
);
insert into test_checkbox (id, test_tf, text) values(test_checkbox_seq.nextval, 0, 'xx 1');
insert into test_checkbox (id, test_tf, text) values(test_checkbox_seq.nextval, 0, 'xx 2');
insert into test_checkbox (id, test_tf, text) values(test_checkbox_seq.nextval, 0, 'xx 3');

In APEX, the IG region is defined as

select id
     ,test_tf
     ,text
from   test_checkbox 

column test_tf column is defined as Checkbox, checked: 1, unchecked: 0, Default: Static: 0

open the page
double-click on one line's text field
click on another line

The result:

If now one tries to save the page, then…

Of course. Or not of course?

Well, if the checkbox column is set in UI as not mandatory, everything is OK, no error messages and data in the DB is, as supposed:

Comments
Post Details
Added on Feb 3 2025
3 comments
73 views