Skip to content
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

fix(Search): fix search style when has error message #12385

Conversation

johnsonwong666
Copy link
Contributor

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@@ -119,13 +119,16 @@ export default defineComponent({
});

const onInput = (value: string) => emit('update:modelValue', value);
const hasErrorMessageClass =
fieldAttrs.errorMessage && 'has-error-message';
Copy link
Member

Choose a reason for hiding this comment

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

Vant use BEM, please rename has-error-message to van-search__field--with-message and use the bem utility.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@chenjiahan chenjiahan merged commit 4495fba into youzan:main Oct 28, 2023
3 checks passed
@chenjiahan
Copy link
Member

👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants