Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple styles in a single axis value doesn't work #131

Open
heftig opened this issue Apr 3, 2024 · 0 comments
Open

Multiple styles in a single axis value doesn't work #131

heftig opened this issue Apr 3, 2024 · 0 comments

Comments

@heftig
Copy link

heftig commented Apr 3, 2024

Using Styles = style 1 || style 1,style 2 in the UI produces an error:

RuntimeError: Invalid axis 2 'Styles':
  errored: value 'style 1,style 2'
  errored: Invalid parameter 'styles' as 'style 1,style 2':
  not matched to any entry in list ['style 1', 'style 2']

It seems the value validation expects a single style for each value, even though apply_styles will split the value at , later.

(PS: apply_styles should probably also strip each style after splitting to ignore surrounding whitespace.)

@heftig heftig changed the title Not possible to apply multiple styles Multiple styles in a single axis value doesn't work Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant