Vuetify

상점

기업

The v-input component gives you a baseline to create your own custom inputs. It consists of a prepend/append slot, messages, and a default slot. It is recommended that you extend this component, but it can be used as a standalone.

v-input has 4 main areas. The prepended slot, the appended slot, the default slot, and messages. These make up the core logic shared between all form components.

제공되는 Props, Slots, Events 와 함수들을 이용하여 원하는 컴포넌트를 직접 구현해 보세요.

간단한 예재부터 복잡한 예제까지 아래를 참고해서 앱 개발을 시작해 보세요.

v-input has loading state which can be used, e.g. for data loading indication. Note: v-text-field is used just for example.

v-input can have hint which can tell user how to use the input. persistent-hint prop makes the hint visible always if no messages are displayed.

As any validatable Vuetify component, v-input can be set to success state using success prop, you can add message to it using success-messages prop.

As any validatable Vuetify component, v-input can be set to error state using error prop, messages can be added using error-messages prop. You can determine error messages count to show using error-count property.

You can add multiple errors to v-input using error-count property.

You can add custom validation rules to v-input, add them as functions returning true/error message. Note: v-text-field is used just for example.

When hide-details is set to auto messages will be rendered only if there's a message (hint, error message etc) to display.

v-input has append and prepend slots. You can place custom icons in them.

v-input can have click:append and click:prepend events for its slots. Note: v-text-field is used just for example.

더 읽을 준비 되었나요? 그렇다면 아래 설명서를 더 읽어보세요!

Caught a mistake or want to contribute to the documentation? Edit Layout on GitHub!