diff --git a/packages/materialdesign-components/src/Test/props.js b/packages/materialdesign-components/src/Test/props.js index 0b71ceaee2..df0125f214 100644 --- a/packages/materialdesign-components/src/Test/props.js +++ b/packages/materialdesign-components/src/Test/props.js @@ -35,8 +35,8 @@ export const props = { label: "First", colour: "secondary", fullwidth: true, + maxLength: 500, helperText: "Add Surname", - useCharCounter: true, onChange: text => console.log("Text: ", text), }, checkbox: { diff --git a/packages/materialdesign-components/src/Textfield/CharacterCounter.svelte b/packages/materialdesign-components/src/Textfield/CharacterCounter.svelte new file mode 100644 index 0000000000..e62573a3ac --- /dev/null +++ b/packages/materialdesign-components/src/Textfield/CharacterCounter.svelte @@ -0,0 +1 @@ +
diff --git a/packages/materialdesign-components/src/Textfield/HelperText.svelte b/packages/materialdesign-components/src/Textfield/HelperText.svelte new file mode 100644 index 0000000000..038fbea1a5 --- /dev/null +++ b/packages/materialdesign-components/src/Textfield/HelperText.svelte @@ -0,0 +1,24 @@ + + +