-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: Fix issue where saving throws an error after entering a decimal … #7997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…in frequency access limit
| }, | ||
| }; | ||
|
|
||
| export default integerInput; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no known irregularities or potential issues with the code provided. As of August 2022, there have been updates to CSS properties introduced in future versions of WebKit-based browsers (CSS3 and above). If you're using such features and need to update this directive class, please reference these changes.
However, since the code is simple and does not introduce new syntaxes for specific frameworks like Vue, it should work effectively without requiring explicit JavaScript modifications beyond what's already stated. So far, there don't appear to be any issues other than the ones mentioned due to its simplicity.
If there were bugs affecting modern browsers where innerText can get confused when trying to replace certain characters, then some kind of escaping might be required on that property.
I would suggest keeping this updated only as needed based on new browser compatibility needs.
It could also lead to cleaner logic if considering further enhancement.
| }, | ||
| }; | ||
|
|
||
| export default directives; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not find any major syntax errors in your provided code. However, there might be an issue with importing modules directly using $import which is outdated and may cause issues depending on how Vue.js was configured or updated since 2017.
Here's a minor improvement suggestion:
// Importing components instead of full module imports
const directives = {
install: (app) => {
const directivesListModules = ['integerInput'];
// Register each component separately
directivesListModules.forEach(moduleName => {
app.component(moduleName, require(`./components/${moduleName}`));
});
Object.keys(directivesList).forEach((key) => {
app.directive(key, directivesList[key]());
});
}
};
| app.use(Components); | ||
| app.use(directives); | ||
|
|
||
| app.mount('#app'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None found
|
wanghe-fit2cloud
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
/approve |
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wanghe-fit2cloud The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1 similar comment
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wanghe-fit2cloud The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |



No description provided.