diff --git a/app/components/malio/input/InputAutocomplete.test.ts b/app/components/malio/input/InputAutocomplete.test.ts index 9b17a97..596896e 100644 --- a/app/components/malio/input/InputAutocomplete.test.ts +++ b/app/components/malio/input/InputAutocomplete.test.ts @@ -536,5 +536,6 @@ describe('MalioInputAutocomplete', () => { const wrapper = mountComponent({label: 'Champ', readonly: true, modelValue: 'fr', options, iconName: 'mdi:magnify', iconPosition: 'left'}) expect(wrapper.get('label').classes()).toContain('text-black') expect(wrapper.get('[data-test="icon-left"]').classes()).toContain('text-black') + expect(wrapper.get('[data-test="chevron"]').classes()).toContain('text-black') }) }) diff --git a/app/components/malio/input/InputTextArea.vue b/app/components/malio/input/InputTextArea.vue index 018f2d1..dd24184 100644 --- a/app/components/malio/input/InputTextArea.vue +++ b/app/components/malio/input/InputTextArea.vue @@ -9,7 +9,7 @@ class="floating-input peer w-full border bg-white pl-3 pr-3 py-1 outline-none placeholder:text-transparent overflow-auto" :class="[ isReadonly ? 'border-black' : (isFilled ? 'border-black' : 'border-m-muted'), - disabled ? 'cursor-not-allowed text-black/60 border-m-muted' : 'cursor-text', + disabled ? 'cursor-not-allowed text-black/60 border-m-muted' : (isReadonly ? 'cursor-default' : 'cursor-text'), hasError ? 'border-m-danger focus:border-m-danger' : hasSuccess