Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

TagPicker styleName attribute removes tag-picker styles #671

Closed
Flaurite opened this issue Sep 28, 2021 · 1 comment
Closed

TagPicker styleName attribute removes tag-picker styles #671

Flaurite opened this issue Sep 28, 2021 · 1 comment
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@Flaurite
Copy link
Contributor

Flaurite commented Sep 28, 2021

Description

Steps to reproduce

  1. Configure TagPicker and add styleName in the XML:
<tagPicker id="tagPicker"
           optionsContainer="orderLinesDc"
           stylename="medium"/>
  1. Open screen and add some records to the field.

ER
image

AR
image


QA

Additional to the case above:

  1. Try to invoke getStyleName():
notifications.create()
        .withCaption(tagPickerSimple.getStyleName())
        .show();

The empty string or stylename (if it's defined) should be return.

@Flaurite Flaurite added the type: bug Something isn't working label Sep 28, 2021
@Flaurite Flaurite added this to the 1.1.0 milestone Sep 28, 2021
@Flaurite Flaurite self-assigned this Sep 28, 2021
@lovtsovaik lovtsovaik assigned imorenov94 and unassigned lovtsovaik Oct 6, 2021
Flaurite added a commit that referenced this issue Oct 18, 2021
Reworked get/set/remove style name methods to work the same as other components
@Flaurite
Copy link
Contributor Author

Refactored get/set/remove style name methods to work the same as other components. QA description is updated.

@Flaurite Flaurite reopened this Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants