Skip to content

IOS: unable to use Checkbox.Android #75

@sufyansalim

Description

@sufyansalim

Hi

i am passing these properties but none of them are taking effect the checkboxProps i want to set the component use android style checkboxes, it would be really nice if you add such option to the library. Thank You

checkboxProps={{
checkboxMode: 'android',
checkboxColor: 'purple',
checkboxUncheckedColor: 'blue',
}}

<PaperSelect
label={i18n.t("general.selectProject", {
defaultValue: "Select project",
})}
value={project.value}
onSelection={(item) => {
setProject({
...project,
value: item.text,
selectedList: item.selectedList,
error: "",
});
}}
arrayList={[...project.list]}
selectedArrayList={project.selectedList}
errorText={project.error}
multiEnable={false}
checkboxProps={{
checkboxMode: 'android',
checkboxColor: 'purple',
checkboxUncheckedColor: 'blue',
}}
theme={{ colors: { primary: theme.colors.primary } }}
dialogCloseButtonText={i18n.t("general.close", {
defaultValue: "Close",
})}
dialogDoneButtonText={i18n.t("general.done", {
defaultValue: "Done",
})}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions