Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

fix(utils): handle disabled label / unit label for *Field components#197

Merged
boilund merged 1 commit intoAxisCommunications:mainfrom
anius:field-disabled
Feb 22, 2022
Merged

fix(utils): handle disabled label / unit label for *Field components#197
boilund merged 1 commit intoAxisCommunications:mainfrom
anius:field-disabled

Conversation

@anius
Copy link
Copy Markdown
Contributor

@anius anius commented Feb 21, 2022

Change opacity and disable pointer events for the *Field components label / unit label when the components are disabled.

Fixes: #193
Screenshot 2022-02-21 at 12 38 41

Screenshot 2022-02-21 at 12 38 52

Screenshot 2022-02-22 at 08 57 25

Screenshot 2022-02-22 at 08 57 33

@anius anius changed the title feat(utils): handle disabled label for *Field components fix(utils): handle disabled label for *Field components Feb 21, 2022
Copy link
Copy Markdown
Collaborator

@boilund boilund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should disable unit label as well? (in withField component)

@anius
Copy link
Copy Markdown
Contributor Author

anius commented Feb 22, 2022

Maybe we should disable unit label as well? (in withField component)

Yes, was planning to but forgot. Should be fixed now.

@anius anius changed the title fix(utils): handle disabled label for *Field components fix(utils): handle disabled label / unit label for *Field components Feb 22, 2022
Change opacity and disable pointer events for the `*Field`
components label / unit label when the components are disabled.

Fixes: #193
@boilund boilund merged commit b66367b into AxisCommunications:main Feb 22, 2022
@anius anius deleted the field-disabled branch February 22, 2022 08:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

*Field component's label does not consider disabled

2 participants