Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Conversation

sanbornsen
Copy link
Contributor

No description provided.

- The value of nodeValue is coming null sometime
- To reproduce the bug start editing, blur the field and focus again on the field and see th error on console.
@joshuawilson
Copy link
Contributor

Do you have a link to the task or user-story?

@sanbornsen
Copy link
Contributor Author

The issue is in planner - openshiftio/openshift.io#2538
I thought it would be better to have a feature like this in this component in here.

@joshuawilson
Copy link
Contributor

Can you add a test for the new feature?

(click)="saveClick()"
class="fl btn btn-primary pull-right action-btn btn-save"
[disabled]="saving"
[disabled]="saving || (!allowEmptySave && fieldEmpty)"
Copy link
Member

Choose a reason for hiding this comment

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

Same conditions should check for the disabled class as well in line no. 58.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't actually need a class. It's a button so disabled property should work by itself

@sanbornsen
Copy link
Contributor Author

@joshuawilson added tests for the new feature.

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.

3 participants