这是indexloc提供的服务,不要输入任何密码
Skip to content

Logic issue in action field customized icons #816

@mshamsrainey

Description

@mshamsrainey

Toggling off customized icons in Actions field does not revert icons to default. Icons only revert to default when customized icon is removed from input field.

To Reproduce

  1. Create Actions field in table
  2. Open the configuration settings for the column with an actions field
  3. Click the checkbox to "Customize button icons with an emoji"
  4. Fill in an emoji of your choice to replace the default Run icon
  5. Save your changes and close the configuration
  6. Re-open the configuration settings for this column
  7. Un-check the checkbox to "Customize button icons with an emoji"
  8. Save changes and close configuration

Expected behavior
Un-checking the checkbox for customized icons should revert icons back to default. Instead, the only way to revert icons to default is to remove them from the text field that appears after the customized icon checkbox is clicked.

Screenshots
I felt that a video explained this better than an image, so I created a screen recording that you can access at this link

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: develop branch via localhost

Notes:
I'm pretty sure this is a quick logic fix, just adding in a check for whether custom icons are enabled when determining the icon to show. I ran into this while working on #513, actually, and it was a one-line fix there. I can't imagine this being substantially more complex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions