From e0ca5ccc8260e8851c5fa69fbb84ccca6d16e72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Wed, 16 Nov 2022 09:26:53 +0100 Subject: [PATCH] Extend NcInputField props and forward $attrs to NcPasswordField and NcTextField MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- src/components/NcInputField/NcInputField.vue | 27 +- .../NcPasswordField/NcPasswordField.vue | 151 +---------- src/components/NcTextField/NcTextField.vue | 249 +----------------- src/components/index.js | 2 + styleguide.config.js | 8 +- 5 files changed, 56 insertions(+), 381 deletions(-) diff --git a/src/components/NcInputField/NcInputField.vue b/src/components/NcInputField/NcInputField.vue index c2df2a252d..b83cb0dd09 100644 --- a/src/components/NcInputField/NcInputField.vue +++ b/src/components/NcInputField/NcInputField.vue @@ -19,6 +19,19 @@ - along with this program. If not, see . --> + +### Description + +This component is used by the other Fields components. +It extends and styles an HTMLInputElement. + +You cannot use it as is. This is here for documentation purposes. +See the other field components. + +For a list of all available props and attributes, please check the [HTMLInputElement documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes) + + +