Skip to content

Commit 2676e87

Browse files
committed
fix(NcTextField): use outline alert icon
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
1 parent efb9c93 commit 2676e87

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/NcInputField/NcInputField.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For a list of all available props and attributes, please check the [HTMLInputEle
2020
import type { Slot } from 'vue'
2121
import type { VueClassType } from '../../utils/VueTypes.ts'
2222
23-
import { mdiAlertCircle, mdiCheck } from '@mdi/js'
23+
import { mdiAlertCircleOutline, mdiCheck } from '@mdi/js'
2424
import { computed, useAttrs, useTemplateRef, warn } from 'vue'
2525
import { createElementId } from '../../utils/createElementId.ts'
2626
import { isLegacy } from '../../utils/legacy.ts'
@@ -285,7 +285,7 @@ function handleInput(event: Event) {
285285
v-else-if="success || error"
286286
class="input-field__icon input-field__icon--trailing">
287287
<NcIconSvgWrapper v-if="success" :path="mdiCheck" />
288-
<NcIconSvgWrapper v-else :path="mdiAlertCircle" />
288+
<NcIconSvgWrapper v-else :path="mdiAlertCircleOutline" />
289289
</div>
290290
</div>
291291
<p
@@ -300,7 +300,7 @@ function handleInput(event: Event) {
300300
<NcIconSvgWrapper
301301
v-else-if="error"
302302
class="input-field__helper-text-message__icon"
303-
:path="mdiAlertCircle"
303+
:path="mdiAlertCircleOutline"
304304
inline />
305305
{{ helperText }}
306306
</p>

src/components/NcTextArea/NcTextArea.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default {
7474
<script setup lang="ts">
7575
import type { VueClassType } from '../../utils/VueTypes.ts'
7676
77-
import { mdiAlertCircle, mdiCheck } from '@mdi/js'
77+
import { mdiAlertCircleOutline, mdiCheck } from '@mdi/js'
7878
import { computed, useAttrs, useTemplateRef, watch } from 'vue'
7979
import NcIconSvgWrapper from '../NcIconSvgWrapper/NcIconSvgWrapper.vue'
8080
import { createElementId } from '../../utils/createElementId.ts'
@@ -277,7 +277,7 @@ function select() {
277277
<NcIconSvgWrapper
278278
v-else-if="error"
279279
class="textarea__helper-text-message__icon"
280-
:path="mdiAlertCircle"
280+
:path="mdiAlertCircleOutline"
281281
inline />
282282
{{ helperText }}
283283
</p>

0 commit comments

Comments
 (0)