Skip to content

Commit f9523fa

Browse files
committed
Merge branch 'master' of https://github.com/Escalion/svelte-material-ui into Escalion-master
2 parents b2c366b + 9ea8f59 commit f9523fa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/textfield/Textfield.svelte

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<Input
3636
{type}
3737
{disabled}
38+
{step}
39+
{min}
40+
{max}
3841
bind:value
3942
bind:files
4043
bind:dirty
@@ -124,8 +127,11 @@
124127
export let invalid = uninitializedValue;
125128
export let updateInvalid = invalid === uninitializedValue;
126129
export let useNativeValidation = updateInvalid;
130+
export let step = null;
131+
export let min = null;
132+
export let max = null;
127133
128-
$: props = exclude($$props, ['use', 'class', 'ripple', 'disabled', 'fullwidth', 'textarea', 'variant', 'dense', 'withLeadingIcon', 'withTrailingIcon', 'noLabel', 'label', 'type', 'value', 'dirty', 'invalid', 'updateInvalid', 'useNativeValidation', 'input$', 'label$', 'ripple$', 'outline$']);
134+
$: props = exclude($$props, ['use', 'class', 'ripple', 'disabled', 'fullwidth', 'textarea', 'variant', 'dense', 'withLeadingIcon', 'withTrailingIcon', 'noLabel', 'label', 'type', 'value', 'dirty', 'invalid', 'updateInvalid', 'useNativeValidation', 'input$', 'label$', 'ripple$', 'outline$', 'step', 'min', 'max']);
129135
130136
let element;
131137
let textField;

0 commit comments

Comments
 (0)