We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
.is-negative
input:invalid
虛擬類別 :invalid 可在 <input> 不符合驗證規則時套用特定樣式
:invalid
若 ts-input .is-negative 的樣式加上 .ts-input input:invalid 之選擇器 可使樣式自動套用到不符合驗證規則的 <input> 而不須另外加上 class
.ts-input input:invalid
The text was updated successfully, but these errors were encountered:
有點雙面刃,怕有些時候可能 invalid 不會想觸發 Tocas UI 的 is-negative 樣式
Sorry, something went wrong.
了解這個考量,或許也能透過 .is-negative-when-invalid 之類的 class 來表示自動套用 .is-negative 的行為?
.is-negative-when-invalid
YamiOdymel
No branches or pull requests
虛擬類別
:invalid
可在 <input> 不符合驗證規則時套用特定樣式若 ts-input
.is-negative
的樣式加上.ts-input input:invalid
之選擇器可使樣式自動套用到不符合驗證規則的 <input> 而不須另外加上 class
The text was updated successfully, but these errors were encountered: