Skip to content

Missing text field props? #5

@jardicc

Description

@jardicc

Are these props available also in UXP-spectrum components?

<input
	type="number"
	value={this.state.maxItemsFocus ? this.state.maxItemsTempValue : maximumItems}
	onChange={e => this.setMaxItems(e.currentTarget.value)}

	required={true}
	minLength={1}
	maxLength={5}
	min={3}
	max={99999}
	onBlur={e => {
		this.setMaxItems(maximumItems.toString(), false);
		this.props.onSetMaximumItems(e.currentTarget.value);
	}}
	onFocus={() => this.setMaxItems(maximumItems.toString(), true)}
/>

Also for type="number" can value also the type of "number"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions