Skip to content

Commit

Permalink
Add natural sorting option to the API for the slider template (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
margalva authored Sep 27, 2024
1 parent 7b79646 commit 23a99e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ansys/dynamicreporting/core/utils/report_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1936,6 +1936,8 @@ def set_map_to_slider(self, value=None):
"text_down",
"numeric_up",
"numeric_down",
"natural_up",
"natural_down",
"none",
]:
raise ValueError("Error: the input sorting parameter is not supported")
Expand All @@ -1958,6 +1960,8 @@ def add_map_to_slider(self, value=None):
"text_down",
"numeric_up",
"numeric_down",
"natural_up",
"natural_down",
"none",
]:
raise ValueError("Error: the input sorting parameter is not supported")
Expand Down

0 comments on commit 23a99e3

Please sign in to comment.