본문으로 건너뛰기

Checkbox

간단한 2-상태 체크박스입니다.

checkbox_editor

scheduler.locale.labels.section_checkme = "참여하겠습니다";     

scheduler.config.lightbox.sections = [
{ name:"text", height:50, map_to:"text", type:"textarea", focus:true },
{ name:"checkme", map_to:"participation", type:"checkbox",
checked_value: "registrable", unchecked_value: "unchecked", height:40 },
{ name:"time", height:72, type:"time", map_to:"auto"}
];

Checkbox in the lightbox

초기화

라이트박스에 Checkbox 컨트롤을 포함하려면 다음 단계를 따라야 합니다:

  1. 페이지에서 editors 익스텐션을 활성화하세요:
scheduler.plugins({
editors: true
});
  1. 라이트박스 설정에 checkbox 섹션을 추가하세요:
scheduler.config.lightbox.sections = [
{ name:"description", ... },
{ name:"checkme", map_to:"single_checkbox", type:"checkbox",
checked_value: "registrable", height:40},
{ name:"time", ...}
];
  1. checkbox 섹션의 라벨을 정의하세요:
scheduler.locale.labels.section_checkme = "참여하겠습니다"; 

Checkbox in the lightbox

속성

'checkbox' 컨트롤에 일반적으로 사용되는 주요 속성은 다음과 같습니다 (전체 목록은 여기를 참고하세요):

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.