Skip to content

using data_validation for list with a value enclosed with " triggers Racc::ParseError #40

@vincentv-sp

Description

@vincentv-sp

i'm trying to make a list data validation using this:

worksheet.data_validation(row, 0, row+50, 0,
{
:validate => 'list',
:source =>["a>b", "a<b", "a?b", "a*b", "?><", "'C", ""D""]
})

where one of the string is enclose with " and it gives me this error:

Racc::ParseError in MyController#write_to_excel
parse error on value "D" (error)

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